mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
fix(essentials): updates ZoomRoom mute state to report muted when not in call
This commit is contained in:
@@ -214,6 +214,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||||||
handler(this, new CodecCallStatusItemChangeEventArgs(item));
|
handler(this, new CodecCallStatusItemChangeEventArgs(item));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PrivacyModeIsOnFeedback.FireUpdate();
|
||||||
|
|
||||||
if (AutoShareContentWhileInCall)
|
if (AutoShareContentWhileInCall)
|
||||||
{
|
{
|
||||||
StartSharing();
|
StartSharing();
|
||||||
|
|||||||
@@ -214,7 +214,23 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
|
|
||||||
protected override Func<bool> PrivacyModeIsOnFeedbackFunc
|
protected override Func<bool> PrivacyModeIsOnFeedbackFunc
|
||||||
{
|
{
|
||||||
get { return () => Configuration.Call.Microphone.Mute; }
|
get
|
||||||
|
{
|
||||||
|
return () =>
|
||||||
|
{
|
||||||
|
Debug.Console(2, this, "PrivacyModeIsOnFeedbackFunc. IsInCall: {0} muteState: {1}", IsInCall, Configuration.Call.Microphone.Mute);
|
||||||
|
if (IsInCall)
|
||||||
|
{
|
||||||
|
Debug.Console(2, this, "reporting muteState: ", Configuration.Call.Microphone.Mute);
|
||||||
|
return Configuration.Call.Microphone.Mute;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.Console(2, this, "muteState: true", IsInCall);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override Func<bool> StandbyIsOnFeedbackFunc
|
protected override Func<bool> StandbyIsOnFeedbackFunc
|
||||||
|
|||||||
Reference in New Issue
Block a user