Table of Contents

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

streamServiceType string

Type of stream service to apply. Example: rtmp_common or rtmp_custom.

streamServiceSettings object

Settings to apply to the service.

cancellationToken CancellationToken

A 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

Task

Remarks

Note: Simple RTMP settings can be set with type rtmp_custom and the settings fields server and key.