Get-OBSMediaInputStatus : GetMediaInputStatus
Gets the status of a media input.
Media States:
OBS_MEDIA_STATE_NONE
OBS_MEDIA_STATE_PLAYING
OBS_MEDIA_STATE_OPENING
OBS_MEDIA_STATE_BUFFERING
OBS_MEDIA_STATE_PAUSED
OBS_MEDIA_STATE_STOPPED
OBS_MEDIA_STATE_ENDED
OBS_MEDIA_STATE_ERROR
Get-OBSMediaInputStatus calls the OBS WebSocket with a request of type GetMediaInputStatus.
Name of the media input
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
true | 1 | true (ByPropertyName) |
If set, will return the information that would otherwise be sent to OBS.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) | OutputRequest OutputInput |
If set, will not attempt to receive a response from OBS. This can increase performance, and also silently ignore critical errors
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) | NoReceive IgnoreResponse IgnoreReceive DoNotReceiveResponse |
Get-OBSMediaInputStatus [-InputName] <String> [-PassThru] [-NoResponse] [<CommonParameters>]