Minor adjustments and added debug messages

This commit is contained in:
Neil Dorin
2023-07-19 16:55:53 -06:00
parent f73d6994b8
commit c46409dc3f
2 changed files with 9 additions and 5 deletions

View File

@@ -375,7 +375,7 @@ namespace PepperDash.Essentials
SetSourceListKey(Key); SetSourceListKey(Key);
} }
SetCodecExternalSources(); SetUpVideoCodec();
} }
protected override void CustomSetConfig(DeviceConfig config) protected override void CustomSetConfig(DeviceConfig config)
@@ -923,6 +923,8 @@ namespace PepperDash.Essentials
videoCodecWithExternalSwitching.SetExternalSourceState(kvp.Key, PepperDash.Essentials.Devices.Common.VideoCodec.Cisco.eExternalSourceMode.Ready); videoCodecWithExternalSwitching.SetExternalSourceState(kvp.Key, PepperDash.Essentials.Devices.Common.VideoCodec.Cisco.eExternalSourceMode.Ready);
} }
} }
Debug.Console(1, this, "Successfully set up codec external sources for room: {0}", Name);
} }
catch (Exception e) catch (Exception e)
{ {

View File

@@ -274,7 +274,7 @@ namespace PepperDash.Essentials
SetSourceListKey(Key); SetSourceListKey(Key);
} }
SetCodecExternalSources(); SetUpVideoCodec();
} }
protected override void CustomSetConfig(DeviceConfig config) protected override void CustomSetConfig(DeviceConfig config)
@@ -904,6 +904,8 @@ namespace PepperDash.Essentials
videoCodecWithExternalSwitching.SetExternalSourceState(kvp.Key, PepperDash.Essentials.Devices.Common.VideoCodec.Cisco.eExternalSourceMode.Ready); videoCodecWithExternalSwitching.SetExternalSourceState(kvp.Key, PepperDash.Essentials.Devices.Common.VideoCodec.Cisco.eExternalSourceMode.Ready);
} }
} }
Debug.Console(1, this, "Successfully set up codec external sources for room: {0}", Name);
} }
catch (Exception e) catch (Exception e)
{ {