From 0db77d24059921da5cf69fe6a3c93413791164cb Mon Sep 17 00:00:00 2001 From: Steven Ryland Date: Thu, 16 May 2024 14:46:27 -0700 Subject: [PATCH] Add some properties --- .../Types/StreamingServiceSettings.cs | 22 ++++++++++++++++++- obs-websocket-dotnet/obs-websocket-dotnet.xml | 15 +++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/obs-websocket-dotnet/Types/StreamingServiceSettings.cs b/obs-websocket-dotnet/Types/StreamingServiceSettings.cs index fae5236..58aa1f1 100644 --- a/obs-websocket-dotnet/Types/StreamingServiceSettings.cs +++ b/obs-websocket-dotnet/Types/StreamingServiceSettings.cs @@ -1,4 +1,6 @@ -using Newtonsoft.Json; +using System.Collections.Generic; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; namespace OBSWebsocketDotNet.Types { @@ -36,5 +38,23 @@ public class StreamingServiceSettings /// [JsonProperty(PropertyName = "password")] public string Password { set; get; } + + /// + /// The service being used to stream + /// + [JsonProperty(PropertyName = "service")] + public string Service { get; set; } + + /// + /// The protocol to use for the stream + /// + [JsonProperty(PropertyName = "protocol")] + public string Protocol { get; set; } + + /// + /// Other values not covered by the class + /// + [JsonExtensionData] + public Dictionary OtherValues { get; set; } } } \ No newline at end of file diff --git a/obs-websocket-dotnet/obs-websocket-dotnet.xml b/obs-websocket-dotnet/obs-websocket-dotnet.xml index 3fca11a..29e92b0 100644 --- a/obs-websocket-dotnet/obs-websocket-dotnet.xml +++ b/obs-websocket-dotnet/obs-websocket-dotnet.xml @@ -5208,6 +5208,21 @@ The password to use when accessing the streaming server. Only present if use-auth is true + + + The service being used to stream + + + + + The protocol to use for the stream + + + + + Other values not covered by the class + + Scene transition override settings