Media Control API
API for controlling media devices in Blackmagic Design products.
GET /media/workingset
Get the list of media devices currently in the working set.
Response
200 - OK
The response is a JSON object.
Name Type Description
size integer The fixed size of this device’s working set
workingset (required) array
workingset[i] object
workingset[i].index integer Index of this media in the working set
workingset[i].activeDisk boolean Is this current item the active disk
workingset[i].volume string Volume name
workingset[i].deviceName string Internal device name of this media device
workingset[i].remainingRecordTime integer Remaining record time on media device in seconds
workingset[i].totalSpace integer Total space on media device in bytes
workingset[i].remainingSpace integer Remaining space on media device in bytes
workingset[i].clipCount integer Number of clips currently on the device
GET /media/active
Get the currently active media device.
Response
200 - OK
The response is a JSON object.
Name Type Description
workingsetIndex integer Working set index of the active media device
deviceName string Internal device name of this media device
PUT /media/active
Set the currently active media device.
Parameters
Name Type Description
workingsetIndex integer Working set index of the media to become active
Response
204 - No Content
151Developer Information