Class ObsStreamService
- Namespace
- OBSStudioClient.Model
- Assembly
- OBSClient.dll
The stream service of OBS Studio (Settings, Stream) of the profile that is current: where the stream goes. It is a snapshot: it does not change when OBS Studio does (GetStreamServiceAsync(CancellationToken) asks again).
public sealed class ObsStreamService
- Inheritance
-
ObsStreamService
- Inherited Members
Remarks
Settings holds what OBS Studio keeps for the service, and that is **the stream key** (the field is called key for rtmp_custom, which was measured with OBS Studio 33.0.0): do not log it, and do not show it. ToString()
tells the type only.
Properties
- Settings
Gets the settings of the service, as a JSON object: for
rtmp_customthe fieldsserverandkey(measured with OBS Studio 33.0.0). It holds the stream key. What the fields are called depends on the type.
- Type
Gets the type of the service:
rtmp_commonfor one of the services that OBS Studio knows (Twitch, YouTube, ...),rtmp_customfor a server and a key that the user types, or the type of a plugin.
Methods
- ToString()
Returns a string that represents the current object.