Skip to content

Commit

Permalink
Add some properties
Browse files Browse the repository at this point in the history
  • Loading branch information
DrEsteban committed May 16, 2024
1 parent 88da388 commit 0db77d2
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
22 changes: 21 additions & 1 deletion obs-websocket-dotnet/Types/StreamingServiceSettings.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using Newtonsoft.Json;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace OBSWebsocketDotNet.Types
{
Expand Down Expand Up @@ -36,5 +38,23 @@ public class StreamingServiceSettings
/// </summary>
[JsonProperty(PropertyName = "password")]
public string Password { set; get; }

/// <summary>
/// The service being used to stream
/// </summary>
[JsonProperty(PropertyName = "service")]
public string Service { get; set; }

/// <summary>
/// The protocol to use for the stream
/// </summary>
[JsonProperty(PropertyName = "protocol")]
public string Protocol { get; set; }

/// <summary>
/// Other values not covered by the class
/// </summary>
[JsonExtensionData]
public Dictionary<string, JToken> OtherValues { get; set; }
}
}
15 changes: 15 additions & 0 deletions obs-websocket-dotnet/obs-websocket-dotnet.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0db77d2

Please sign in to comment.