various fixes

This commit is contained in:
Andrew Welker
2020-10-01 14:40:13 -06:00
parent 34440af1c5
commit 27382a6be1
3 changed files with 31 additions and 6 deletions

View File

@@ -368,7 +368,9 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
(codec as IHasCodecSelfView).SelfviewIsOnFeedback.InvokeFireUpdate(); (codec as IHasCodecSelfView).SelfviewIsOnFeedback.InvokeFireUpdate();
} }
SharingContentIsOnFeedback.InvokeFireUpdate(); SharingContentIsOnFeedback.InvokeFireUpdate();
trilist.SetBool(joinMap.HookState.JoinNumber, IsInCall);
UpdateCallStatusXSig(); UpdateCallStatusXSig();
}; };
@@ -698,7 +700,9 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
() => Dial(trilist.StringOutput[joinMap.CurrentDialString.JoinNumber].StringValue)); () => Dial(trilist.StringOutput[joinMap.CurrentDialString.JoinNumber].StringValue));
//End All calls for now //End All calls for now
trilist.SetSigFalseAction(joinMap.EndCall.JoinNumber, EndAllCalls); trilist.SetSigFalseAction(joinMap.EndCall.JoinNumber, EndAllCalls);
trilist.SetBool(joinMap.HookState.JoinNumber, IsInCall);
CallStatusChange += (sender, args) => CallStatusChange += (sender, args) =>
{ {

View File

@@ -702,20 +702,35 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
public class Camera : NotifiableObject public class Camera : NotifiableObject
{ {
private string _muteState;
private bool _mute; private bool _mute;
public bool Mute public bool Mute
{
get { return _mute; }
set
{
if (value == _mute) return;
_mute = value;
NotifyPropertyChanged("Mute");
}
}
[JsonProperty("mute")]
public string MuteState
{ {
get get
{ {
return _mute; return _muteState;
} }
set set
{ {
if (value != _mute) if (value != _muteState)
{ {
_mute = value; _muteState = value;
NotifyPropertyChanged("Mute");
Mute = _muteState == "on";
} }
} }
} }

View File

@@ -657,6 +657,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
} }
_syncState.AddQueryToQueue("zCommand Bookings List"); _syncState.AddQueryToQueue("zCommand Bookings List");
_syncState.AddQueryToQueue("zCommand Call ListParticipants");
_syncState.StartSync(); _syncState.StartSync();
@@ -757,6 +758,11 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
Thread.Sleep(100); Thread.Sleep(100);
SendText("zFeedback Register Op: ex Path: /Event/InfoResult/info/callout_country_list"); SendText("zFeedback Register Op: ex Path: /Event/InfoResult/info/callout_country_list");
Thread.Sleep(100); Thread.Sleep(100);
if (!_props.DisablePhonebookAutoDownload)
{
SendText("zFeedback Register ");
}
// switch to json format // switch to json format
SendText("format json"); SendText("format json");
}); });