Moves the stop sharing and standby commands to later in the EndShutdown() sequence

This commit is contained in:
Neil Dorin
2020-11-13 13:32:04 -07:00
parent 06e8cac597
commit ecba28c9cd

View File

@@ -383,8 +383,6 @@ namespace PepperDash.Essentials
protected override void EndShutdown() protected override void EndShutdown()
{ {
VideoCodec.EndAllCalls(); VideoCodec.EndAllCalls();
VideoCodec.StopSharing();
VideoCodec.StandbyActivate();
SetDefaultLevels(); SetDefaultLevels();
@@ -395,6 +393,8 @@ namespace PepperDash.Essentials
Debug.Console(0, this, Debug.ErrorLogLevel.Notice, "Shutting down room"); Debug.Console(0, this, Debug.ErrorLogLevel.Notice, "Shutting down room");
RunRouteAction("roomOff"); RunRouteAction("roomOff");
VideoCodec.StopSharing();
VideoCodec.StandbyActivate();
} }
/// <summary> /// <summary>