mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 20:54:55 +00:00
[fix] slight change to move CodecCommandWithLabel into the VideoCodec namespace and modify the IHasCodecLayoutsAvailable interface to utilize this class
Modifies #966
This commit is contained in:
@@ -2470,20 +2470,6 @@ ConnectorID: {2}"
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Represents a codec command that might need to have a friendly label applied for UI feedback purposes
|
|
||||||
/// </summary>
|
|
||||||
public class CodecCommandWithLabel
|
|
||||||
{
|
|
||||||
public string Command { get; set; }
|
|
||||||
public string Label { get; set; }
|
|
||||||
|
|
||||||
public CodecCommandWithLabel(string command, string label)
|
|
||||||
{
|
|
||||||
Command = command;
|
|
||||||
Label = label;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Tracks the initial sycnronization state of the codec when making a connection
|
/// Tracks the initial sycnronization state of the codec when making a connection
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||||||
public interface IHasCodecLayoutsAvailable : IHasCodecLayouts
|
public interface IHasCodecLayoutsAvailable : IHasCodecLayouts
|
||||||
{
|
{
|
||||||
StringFeedback AvailableLocalLayoutsFeedback { get; set; }
|
StringFeedback AvailableLocalLayoutsFeedback { get; set; }
|
||||||
Dictionary<string, string> AvailableLocalLayouts { get; set; }
|
List<CodecCommandWithLabel> AvailableLocalLayouts { get; set; }
|
||||||
void LocalLayoutSet(string layoutId);
|
void LocalLayoutSet(string layoutId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
using PepperDash.Essentials.Core;
|
using PepperDash.Essentials.Core;
|
||||||
using PepperDash.Essentials.Devices.Common.VideoCodec.Cisco;
|
using PepperDash.Essentials.Devices.Common.VideoCodec;
|
||||||
|
|
||||||
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using PepperDash.Essentials.Devices.Common.VideoCodec.Cisco;
|
using PepperDash.Essentials.Devices.Common.VideoCodec;
|
||||||
|
|
||||||
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1995,4 +1995,19 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Represents a codec command that might need to have a friendly label applied for UI feedback purposes
|
||||||
|
/// </summary>
|
||||||
|
public class CodecCommandWithLabel
|
||||||
|
{
|
||||||
|
public string Command { get; set; }
|
||||||
|
public string Label { get; set; }
|
||||||
|
|
||||||
|
public CodecCommandWithLabel(string command, string label)
|
||||||
|
{
|
||||||
|
Command = command;
|
||||||
|
Label = label;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user