video
Director Mini device sends the data of video playback, which is triggered upon the data of video playback changes on the device or it receives the "/status/sync" request.
Address
/status/video [json string]
Arguments
Type | Description | |
---|---|---|
argument 1 | String | The data of video playback |
Example
Director Mini device sends the data of video playback.
/status/video {"videoStatus":{"haveVideo":true,"sceneName":"Video","isPlaying":true,"durationString":"103:55","duration":6235800000,"progress":0.3782481798646525}}
Name | Type | Description |
---|---|---|
haveVideo | Boolean | Whether the program scene contains a video layer. true: Yes, false: No |
sceneName | String | The name of the program scene |
isPlaying | Boolean | The state of video playback.true: Playing, false: Paused |
duration | Int | The video duration, in μs |
durationString | String | The video duration, e.g. 00:00 |
progress | Float | The playback progress |