diff --git a/src/PepperDash.Essentials.Devices.Common/SoftCodec/GenericSoftCodec.cs b/src/PepperDash.Essentials.Devices.Common/SoftCodec/GenericSoftCodec.cs index d7952ff7..f6661256 100644 --- a/src/PepperDash.Essentials.Devices.Common/SoftCodec/GenericSoftCodec.cs +++ b/src/PepperDash.Essentials.Devices.Common/SoftCodec/GenericSoftCodec.cs @@ -14,6 +14,9 @@ namespace PepperDash.Essentials.Devices.Common.SoftCodec { public GenericSoftCodec(string key, string name, GenericSoftCodecProperties props) : base(key, name) { + InputPorts = new RoutingPortCollection(); + OutputPorts = new RoutingPortCollection(); + for(var i = 1; i <= props.OutputCount; i++) { var outputPort = new RoutingOutputPort($"{Key}-output{i}", eRoutingSignalType.AudioVideo, eRoutingPortConnectionType.Hdmi, null, this); @@ -41,9 +44,9 @@ namespace PepperDash.Essentials.Devices.Common.SoftCodec } } - public RoutingPortCollection InputPorts => throw new NotImplementedException(); + public RoutingPortCollection InputPorts { get; private set; } - public RoutingPortCollection OutputPorts => throw new NotImplementedException(); + public RoutingPortCollection OutputPorts { get; private set; } } public class GenericSoftCodecProperties