mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-15 05:27:16 +00:00
getting things working
This commit is contained in:
parent
aede5355b7
commit
d6a6791e7b
5 changed files with 204 additions and 94 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue