mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-09 01:35:02 +00:00
Fixed connected enum; Call status header button
This commit is contained in:
@@ -155,6 +155,12 @@ namespace PepperDash.Essentials
|
||||
//PowerOffTimeout = 30000;
|
||||
|
||||
//TriList.StringInput[UIStringJoin.StartActivityText].StringValue = "Tap an activity below";
|
||||
|
||||
// Reveal proper header buttons with/without lighting
|
||||
if(false) // has lighting
|
||||
TriList.SetBool(UIBoolJoin.CallLeftHeaderButtonVisible, true);
|
||||
else
|
||||
TriList.SetBool(UIBoolJoin.CallRightHeaderButtonVisible, true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -15,6 +15,10 @@ using PepperDash.Essentials.Devices.Common.VideoCodec;
|
||||
namespace PepperDash.Essentials.UIDrivers.VC
|
||||
{
|
||||
|
||||
|
||||
#warning When InCall, keypad text should clear. Keypad becomes DTMF only. Delete is gone and disabled. Send keypresses immediately to SendDTMF. Queue them in disaply string.
|
||||
#warning when Call ends, clear keypad text.
|
||||
#warning FOR SPARK - (GFX also) we need a staging bar for in call state where there is no camera button
|
||||
/// <summary>
|
||||
/// This fella will likely need to interact with the room's source, although that is routed via the spark...
|
||||
/// Probably needs event or FB to feed AV driver - to show two-mute volume when appropriate.
|
||||
@@ -149,6 +153,13 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
||||
TriList.UShortInput[UIUshortJoin.VCStagingConnectButtonMode].UShortValue = (ushort)(Codec.IsInCall ? 1 : 0);
|
||||
StagingBarInterlock.ShowInterlocked(Codec.IsInCall ?
|
||||
UIBoolJoin.VCStagingActivePopoverVisible : UIBoolJoin.VCStagingInactivePopoverVisible);
|
||||
// Set mode of header button
|
||||
if (!Codec.IsInCall)
|
||||
TriList.SetUshort(UIUshortJoin.CallHeaderButtonMode, 0);
|
||||
else if(Codec.ActiveCalls.Any(c => c.Type == eCodecCallType.Video))
|
||||
TriList.SetUshort(UIUshortJoin.CallHeaderButtonMode, 2);
|
||||
else
|
||||
TriList.SetUshort(UIUshortJoin.CallHeaderButtonMode, 1);
|
||||
|
||||
// Update list of calls
|
||||
var activeList = Codec.ActiveCalls.Where(c => c.IsActiveCall).ToList();
|
||||
|
||||
Reference in New Issue
Block a user