beautypg.com

Stream state block – Blackmagic Design Web Presenter 4K User Manual

Page 186

background image

Removing all Stream XML files

All XML files can be removed from the Web Presenter by sending the stream xml command with the
remove all action. In the example, following the remove all action, the loaded stream XML files and
available custom platforms are both displayed as empty.

STREAM XML:

Action: Remove All

ACK

STREAM XML:

Files:

STREAM SETTINGS:

Available Custom Platforms:

Stream State Block

The stream state block provides the streaming status of the Web Presenter.
The Web Presenter server will send a stream state block update whenever there is a change to the
Status field. Due to frequency of changes to Duration and Bitrate fields, these fields need to be
polled by the client by requesting a Stream State block.

Block syntax

STREAM STATE:

Status: Idle

Parameters

Key

Read/Write

Description

Valid Values

Status

Read only

The stream state of the Web Presenter,
updated when the stream status changes

Idle
Connecting
Streaming
Interrupted

Action

Write only

The Web Presenter shutdown action.

Start
Stop

Duration

Read only

The duration of the active stream

String in format of DD:HH:MM:SS

Bitrate

Read only

The bitrate of the active stream

Integer bits per second

Starting Stream

The stream is started by providing a stream state block with start action.

STREAM STATE:

Action: Start

186

Developer Information