mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
feat: enhance WebSocket services with HTTP GET handler for certificate confirmation and increase timeout for port forwarding
This commit is contained in:
parent
a18f7800d1
commit
a732c5e08e
6 changed files with 53 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||
/// <summary>
|
||||
/// Represents a MockVC
|
||||
/// </summary>
|
||||
public class MockVC : VideoCodecBase, IRoutingSource, IHasCallHistory, IHasScheduleAwareness, IHasCallFavorites, IHasDirectory, IHasCodecCameras, IHasCameraAutoMode, IHasCodecRoomPresets
|
||||
public class MockVC : VideoCodecBase, IHasCallHistory, IHasScheduleAwareness, IHasCallFavorites, IHasDirectory, IHasCodecCameras, IHasCameraAutoMode, IHasCodecRoomPresets, IRoutingSinkWithFeedback
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the PropertiesConfig
|
||||
|
|
@ -858,6 +858,32 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||
|
||||
#endregion
|
||||
|
||||
#region IRoutingSinkWithFeedback Members
|
||||
|
||||
public RoutingInputPort CurrentInputPort { get; private set; }
|
||||
|
||||
public event InputChangedEventHandler InputChanged;
|
||||
|
||||
#endregion
|
||||
|
||||
#region ICurrentSources Members
|
||||
|
||||
public Dictionary<eRoutingSignalType, IRoutingSource> CurrentSources { get; private set; } = new Dictionary<eRoutingSignalType, IRoutingSource>();
|
||||
|
||||
public Dictionary<eRoutingSignalType, string> CurrentSourceKeys { get; private set; } = new Dictionary<eRoutingSignalType, string>();
|
||||
|
||||
public event EventHandler<CurrentSourcesChangedEventArgs> CurrentSourcesChanged;
|
||||
|
||||
public void SetCurrentSource(eRoutingSignalType signalType, IRoutingSource sourceDevice)
|
||||
{
|
||||
CurrentSources.TryGetValue(signalType, out var previousSource);
|
||||
CurrentSources[signalType] = sourceDevice;
|
||||
CurrentSourceKeys[signalType] = sourceDevice?.Key;
|
||||
CurrentSourcesChanged?.Invoke(this, new CurrentSourcesChangedEventArgs(signalType, previousSource, sourceDevice));
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void CustomSetConfig(DeviceConfig config)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec;
|
|||
/// Base class for video codecs. Contains common properties, methods, and feedback for video codecs.
|
||||
/// Also contains the logic to link commonly implemented interfaces to the API bridge.
|
||||
/// </summary>
|
||||
public abstract class VideoCodecBase : ReconfigurableDevice, IRoutingMidpoint,
|
||||
public abstract class VideoCodecBase : ReconfigurableDevice, IRoutingSource,
|
||||
IUsageTracking, ICodecCallControls, IHasContentSharing, ICodecAudio, IVideoCodecInfo, IBridgeAdvanced, IHasStandbyMode, IHasReady
|
||||
{
|
||||
private const int XSigEncoding = 28591;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue