Table of Contents

Property SynchronizationTimeout

Namespace
OBSStudioClient.Model
Assembly
OBSClient.dll

SynchronizationTimeout

Gets or sets how long ConnectAsync(string, int, string, CancellationToken) waits for the model to be complete, after the connection is made. The default is 30 seconds. The model reads the scenes, the inputs, the program scene, studio mode, the scene items of every scene and the audio state of the inputs, so the time grows with the size of the collection and with the time that OBS Studio takes to answer. It must be between 1 millisecond and 24 days.

public TimeSpan SynchronizationTimeout { get; set; }

Property Value

TimeSpan

Remarks

What was measured: a collection of 100 scenes with 1,000 scene items and 100 inputs (half of them with audio) was read in about a second, against a simulation of OBS Studio on the same computer, over the loopback address. That number is the work of this library, and of the connection; the time that OBS Studio itself needs for each request is not in it, and it is what to measure with your own collection when it is large.