obs-websocket-dotnet

repository·master·Indexed 42 days ago

https://github.com/barraider/obs-websocket-dotnet

The official C# library for communicating with an OBS WebSocket server, providing a .NET interface for controlling OBS Studio. Supports netstandard2.1 and net10.0 (as of v5.7.0). Includes a TestClient project for practical implementation examples and an EventSubscriptions mechanism to manage high-volume events.

Tokens
257
Snippets
1
Records
3
Agent score
4%

What's inside obs-websocket-dotnet

  1. How to manage high-volume event subscriptions

    master

    Starting with v5.7.0, you must explicitly opt-in to receive high-volume events to avoid performance issues. You can control which events you receive using the EventSubscriptions mechanism.

    The following four high-volume events now require explicit opt-in:

    • InputVolumeMeters
    • InputActiveStateChanged
    • InputShowStateChanged
    • SceneItemTransformChanged
  2. Install obs-websocket-dotnet via NuGet

    master

    You can install the official .NET library for communicating with an obs-websocket server via the NuGet gallery.

    Supported target frameworks:

    • netstandard2.1
    • net10.0 (as of v5.7.0)
    # Use your preferred NuGet client to install obs-websocket-dotnet
    dotnet add package obs-websocket-dotnet