Method SetStreamServiceSettings
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetStreamServiceSettings(string, object, CancellationToken)
Sets the current stream service settings (stream destination).
public Task SetStreamServiceSettings(string streamServiceType, object streamServiceSettings, CancellationToken cancellationToken = default)
Parameters
streamServiceTypestringType of stream service to apply. Example:
rtmp_commonorrtmp_custom.streamServiceSettingsobjectSettings to apply to the service.
cancellationTokenCancellationTokenA token that ends the wait for the response, which makes the method throw an OperationCanceledException. A request that was already sent is not undone: OBS Studio may still carry it out.
Returns
Remarks
Note: Simple RTMP settings can be set with type rtmp_custom and the settings fields server and key.