mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-11 18:54:52 +00:00
getting things working
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using PepperDash.Core;
|
||||
using Newtonsoft.Json.Converters;
|
||||
using PepperDash.Core;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace PepperDash.Essentials.Core.Rooms.Config
|
||||
@@ -9,11 +10,15 @@ namespace PepperDash.Essentials.Core.Rooms.Config
|
||||
public class EssentialsNDisplayRoomPropertiesConfig : EssentialsHuddleVtc1PropertiesConfig
|
||||
{
|
||||
[JsonProperty("defaultAudioBehavior")]
|
||||
public string DefaultAudioBehavior { get; set; }
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public EAudioBehavior DefaultAudioBehavior { get; set; }
|
||||
[JsonProperty("defaultVideoBehavior")]
|
||||
public string DefaultVideoBehavior { get; set; }
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public EVideoBehavior DefaultVideoBehavior { get; set; }
|
||||
[JsonProperty("destinationListKey")]
|
||||
public string DestinationListKey { get; set; }
|
||||
[JsonProperty("enableVideoBehaviorToggle")]
|
||||
public bool EnableVideoBehaviorToggle { get; set; }
|
||||
}
|
||||
|
||||
public class DisplayItem : IKeyName
|
||||
@@ -21,4 +26,17 @@ namespace PepperDash.Essentials.Core.Rooms.Config
|
||||
public string Key { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
|
||||
public enum EVideoBehavior
|
||||
{
|
||||
Basic,
|
||||
Advanced
|
||||
}
|
||||
|
||||
public enum EAudioBehavior
|
||||
{
|
||||
AudioFollowVideo,
|
||||
ChooseAudioFromDisplay,
|
||||
AudioFollowVideoWithDeroute
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user