Set Media Source File

Set the file path for a 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.

Filenamerequired
File

The new filepath for the media source

Variables

This sub-action does not populate any variables.

C# Usage

public void ObsSetMediaSourceFile(string scene, string source, string file, int connection = 0)