Thu May 02, 2024 6:49 am
And, because the subscribe message structure also isn't defined, here's what I've got working so far:
{
"type": "request",
"data": {
"action": "subscribe",
"properties": [
"/system"
]
}
}
This will subscribe for updates to the system format.
According to the /event/list API call, these are the events that can be subscribed to:
"/media/active",
"/media/external",
"/media/external/selected",
"/media/nas/bookmarks",
"/media/nas/discovered",
"/media/workingset",
"/system",
"/system/codecFormat",
"/system/product",
"/system/supportedVideoFormats",
"/system/videoFormat",
"/timelines/0",
"/timelines/0/videoFormat",
"/transports/0",
"/transports/0/clipIndex",
"/transports/0/inputVideoFormat",
"/transports/0/inputVideoSource",
"/transports/0/play",
"/transports/0/playback",
"/transports/0/record",
"/transports/0/stop",
"/transports/0/timecode",
"/transports/0/timecode/source"