mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Added JSON property converter to sourceListItem type; commands to start room from call button
This commit is contained in:
parent
768bbf9298
commit
c839cea495
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue