Added JSON property converter to sourceListItem type; commands to start room from call button

This commit is contained in:
Heath Volmer 2018-08-09 16:46:05 -06:00
parent 768bbf9298
commit c839cea495
2 changed files with 7 additions and 1 deletions

View file

@ -115,6 +115,12 @@ namespace PepperDash.Essentials
//Parent.AddAction("/device/videoCodec/endAllCalls", new Action(() => codec.EndAllCalls()));
}
var defCallRm = Room as IRunDefaultCallRoute;
if (defCallRm != null)
{
Parent.AddAction(string.Format(@"/room/{0}/activityVideo", Room.Key), new Action(()=>defCallRm.RunDefaultCallRoute()));
}
Parent.AddAction(string.Format(@"/room/{0}/shutdownStart", Room.Key), new Action(() => Room.StartShutdown(eShutdownType.Manual)));
Parent.AddAction(string.Format(@"/room/{0}/shutdownEnd", Room.Key), new Action(() => Room.ShutdownPromptTimer.Finish()));
Parent.AddAction(string.Format(@"/room/{0}/shutdownCancel", Room.Key), new Action(() => Room.ShutdownPromptTimer.Cancel()));

@ -1 +1 @@
Subproject commit d3babc375ec02690385b03618845e04262ab42f0
Subproject commit f28c59035c5de92dc2c957ad2bd56ada4538d0f3