Set Media State

Set the status of the media source

Parameters

Connectionrequired
Select

Select the configured OBS Studio Connection to connect to

  • Select Any to trigger on any connection
Scenerequired
String

Select the scene from this dropdown list, you can also manually enter a scene name.

Sourcerequired
String

Select the source from this dropdown list, you can also manually enter a scene name.

Staterequired
Select

Select on which side you want to flip the source

  • Play: Play your Media Source
  • Pause: Pause your Media Source
  • Restart: Restart your Media Source
  • Stop: Stop your Media Source
  • Next: Go next on your Media Source
  • Previous: Go to the previous on your Media Source

Variables

This sub-action does not populate any variables.

C# Usage

public void ObsSetMediaState(string scene, string source, int state, int connection = 0)