mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
fixes #594 with standby state in CiscoSparkCodec
This commit is contained in:
parent
0c4ad1c4df
commit
4c16dd07b5
2 changed files with 10 additions and 1 deletions
|
|
@ -597,12 +597,21 @@ namespace PepperDash.Essentials
|
||||||
if (VideoCodec.UsageTracker.InUseTracker.InUseFeedback.BoolValue)
|
if (VideoCodec.UsageTracker.InUseTracker.InUseFeedback.BoolValue)
|
||||||
{
|
{
|
||||||
Debug.Console(1, this, "Video Codec in use, deactivating standby on codec");
|
Debug.Console(1, this, "Video Codec in use, deactivating standby on codec");
|
||||||
|
VideoCodec.StandbyDeactivate();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (VideoCodec.StandbyIsOnFeedback.BoolValue)
|
if (VideoCodec.StandbyIsOnFeedback.BoolValue)
|
||||||
{
|
{
|
||||||
VideoCodec.StandbyDeactivate();
|
VideoCodec.StandbyDeactivate();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.Console(1, this, "Video codec not in standby. No need to wake.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.Console(1, this, "Room OnFeedback state: {0}", OnFeedback.BoolValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
// report back when done
|
// report back when done
|
||||||
|
|
|
||||||
|
|
@ -1369,7 +1369,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
// If the incoming value is "On" it sets the BoolValue true, otherwise sets it false
|
// If the incoming value is "On" it sets the BoolValue true, otherwise sets it false
|
||||||
BoolValue = value == "On";
|
BoolValue = value == "On" || value == "Standby";
|
||||||
OnValueChanged();
|
OnValueChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue