mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +00:00
Merge remote-tracking branch 'origin/bugfix/ecs-541-1' into bugfix/ecs-535
This commit is contained in:
@@ -97,6 +97,8 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||||||
/// <param name="codec"></param>
|
/// <param name="codec"></param>
|
||||||
public EssentialsVideoCodecUiDriver(BasicTriListWithSmartObject triList, IAVDriver parent, VideoCodecBase codec)
|
public EssentialsVideoCodecUiDriver(BasicTriListWithSmartObject triList, IAVDriver parent, VideoCodecBase codec)
|
||||||
: base(triList)
|
: base(triList)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
if (codec == null)
|
if (codec == null)
|
||||||
throw new ArgumentNullException("Codec cannot be null");
|
throw new ArgumentNullException("Codec cannot be null");
|
||||||
@@ -122,7 +124,7 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||||||
LocalPrivacyIsMuted = new BoolFeedback(() => false);
|
LocalPrivacyIsMuted = new BoolFeedback(() => false);
|
||||||
|
|
||||||
VCControlsInterlock = new JoinedSigInterlock(triList);
|
VCControlsInterlock = new JoinedSigInterlock(triList);
|
||||||
if(CodecHasFavorites)
|
if (CodecHasFavorites)
|
||||||
VCControlsInterlock.SetButDontShow(UIBoolJoin.VCKeypadWithFavoritesVisible);
|
VCControlsInterlock.SetButDontShow(UIBoolJoin.VCKeypadWithFavoritesVisible);
|
||||||
else
|
else
|
||||||
VCControlsInterlock.SetButDontShow(UIBoolJoin.VCKeypadVisible);
|
VCControlsInterlock.SetButDontShow(UIBoolJoin.VCKeypadVisible);
|
||||||
@@ -187,6 +189,11 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||||||
|
|
||||||
TriList.SetSigFalseAction(UIBoolJoin.CallStopSharingPress, Codec.StopSharing);
|
TriList.SetSigFalseAction(UIBoolJoin.CallStopSharingPress, Codec.StopSharing);
|
||||||
}
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
Debug.Console(1, "Exception in VideoCodecUiDriver Constructor: {0}", e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Updates the current shared source label on the call list when the source changes
|
/// Updates the current shared source label on the call list when the source changes
|
||||||
@@ -272,7 +279,7 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||||||
ShowKeypad();
|
ShowKeypad();
|
||||||
DialStringBuilder.Remove(0, DialStringBuilder.Length);
|
DialStringBuilder.Remove(0, DialStringBuilder.Length);
|
||||||
DialStringFeedback.FireUpdate();
|
DialStringFeedback.FireUpdate();
|
||||||
Parent.ShowNotificationRibbon("Disonnected", 2000);
|
Parent.ShowNotificationRibbon("Disconnected", 2000);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case eCodecCallStatus.Disconnecting:
|
case eCodecCallStatus.Disconnecting:
|
||||||
|
|||||||
Reference in New Issue
Block a user