mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +00:00
Fixed bug with InputStateFeedback event handler in MicrophonePrivacyController. Tested OK with Digital Inputs on RMC3 triggering privacy toggle
This commit is contained in:
@@ -153,7 +153,7 @@ namespace PepperDash.Essentials.Devices.Common.Microphones
|
|||||||
/// <param name="e"></param>
|
/// <param name="e"></param>
|
||||||
void InputStateFeedback_OutputChange(object sender, EventArgs e)
|
void InputStateFeedback_OutputChange(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if ((sender as IDigitalInput).InputStateFeedback.BoolValue)
|
if ((sender as BoolFeedback).BoolValue == true)
|
||||||
TogglePrivacyMute();
|
TogglePrivacyMute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1297,7 +1297,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (CodecConfiguration.Configuration.H323.H323Alias.ID != null)
|
if (CodecConfiguration.Configuration.H323.H323Alias.ID != null)
|
||||||
return CodecConfiguration.Configuration.H323.H323Alias.E164.Value;
|
return CodecConfiguration.Configuration.H323.H323Alias.ID.Value;
|
||||||
else
|
else
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -243,7 +243,10 @@ namespace PepperDash.Essentials
|
|||||||
}
|
}
|
||||||
|
|
||||||
InCallFeedback = new BoolFeedback(() => VideoCodec.IsInCall);
|
InCallFeedback = new BoolFeedback(() => VideoCodec.IsInCall);
|
||||||
IsSharingFeedback = new BoolFeedback(() => VideoCodec.SharingSourceFeedback.StringValue != null);
|
VideoCodec.CallStatusChange += (o, a) => this.InCallFeedback.FireUpdate();
|
||||||
|
|
||||||
|
IsSharingFeedback = new BoolFeedback(() => VideoCodec.SharingContentIsOnFeedback.BoolValue);
|
||||||
|
VideoCodec.SharingContentIsOnFeedback.OutputChange += (o, a) => this.IsSharingFeedback.FireUpdate();
|
||||||
|
|
||||||
// link privacy to VC (for now?)
|
// link privacy to VC (for now?)
|
||||||
PrivacyModeIsOnFeedback = new BoolFeedback(() => VideoCodec.PrivacyModeIsOnFeedback.BoolValue);
|
PrivacyModeIsOnFeedback = new BoolFeedback(() => VideoCodec.PrivacyModeIsOnFeedback.BoolValue);
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user