From 5bb0ab2626c314e54d42dd4978f819dd7761ab52 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Fri, 1 Aug 2025 21:17:35 -0500 Subject: [PATCH] fix: base config properties for use with streaming devices --- .../Config/BaseStreamingDeviceProperties.cs | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/PepperDash.Essentials.Core/Config/BaseStreamingDeviceProperties.cs diff --git a/src/PepperDash.Essentials.Core/Config/BaseStreamingDeviceProperties.cs b/src/PepperDash.Essentials.Core/Config/BaseStreamingDeviceProperties.cs new file mode 100644 index 00000000..fe77b6af --- /dev/null +++ b/src/PepperDash.Essentials.Core/Config/BaseStreamingDeviceProperties.cs @@ -0,0 +1,23 @@ +using System; +using Newtonsoft.Json; + +namespace PepperDash.Essentials.Core.Config +{ + /// + /// Represents the base properties for a streaming device. + /// + public class BaseStreamingDeviceProperties + { + /// + /// The multicast video address for the streaming device. + /// + [JsonProperty("multicastVideoAddress", NullValueHandling = NullValueHandling.Ignore)] + public string MulticastVideoAddress { get; set; } + + /// + /// The multicast audio address for the streaming device. + /// + [JsonProperty("multicastAudioAddress", NullValueHandling = NullValueHandling.Ignore)] + public string MulticastAudioAddress { get; set; } + } +}