Gets the status of a media input.
Media States:
Name | Type | Required | Description |
---|---|---|---|
inputName |
String |
Name of the media input |
Name | Type | Description |
---|---|---|
obsRaw.mediaState |
String |
State of the media input |
obsRaw.mediaDuration |
Number |
Total duration of the playing media in milliseconds. null if not playing |
obsRaw.mediaCursor |
Number |
Position of the cursor in milliseconds. null if not playing |
Complexity Rating: | |
Latest Supported RPC Version: | 1 |
Added in | v5.0.0 |
{
"requestType": "GetMediaInputStatus",
"requestData": {
"inputName": ""
}
}