mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +00:00
Hotfix branch created to resolve an issue with participant list displaying the zoom room device multiple times when added to call from a waiting room.
This commit is contained in:
@@ -1371,6 +1371,11 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
public bool CanEditClosedCaption { get; set; }
|
public bool CanEditClosedCaption { get; set; }
|
||||||
[JsonProperty("can_record")]
|
[JsonProperty("can_record")]
|
||||||
public bool CanRecord { get; set; }
|
public bool CanRecord { get; set; }
|
||||||
|
// TODO [ ] 2021-07-20, jkd: Evaluate if event can be used to re-poll participant list
|
||||||
|
// - when in waiting room: "event": "ZRCUserChangedEventJoinedMeeting",
|
||||||
|
// - when admitted to call: "event": "ZRCUserChangedEventUserInfoUpdated",
|
||||||
|
// ISSUE [ ] when a zoom rooms device connects to a call with a waiting room, once admitted the zoom rooms device will be present 2x's in the participant list
|
||||||
|
// - each instance of the zoom rooms device will have a unique user id
|
||||||
[JsonProperty("event")]
|
[JsonProperty("event")]
|
||||||
public string Event { get; set; }
|
public string Event { get; set; }
|
||||||
[JsonProperty("hand_status")]
|
[JsonProperty("hand_status")]
|
||||||
|
|||||||
@@ -970,9 +970,12 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
SendText("echo off");
|
SendText("echo off");
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
// set feedback exclusions
|
// set feedback exclusions
|
||||||
SendText("zFeedback Register Op: ex Path: /Event/InfoResult/info/callin_country_list");
|
// TODO [ ] 2021-07-02, jkd - Verify if the /info/ vs /Info/ exludes the unwanted data
|
||||||
|
SendText("zFeedback Register Op: ex Path: /Event/InfoResult/Info/callin_country_list");
|
||||||
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);
|
||||||
|
SendText("zFeedback Register Op: ex Path: /Event/InfoResult/Info/toll_free_callin_list");
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
|
|
||||||
if (!_props.DisablePhonebookAutoDownload)
|
if (!_props.DisablePhonebookAutoDownload)
|
||||||
@@ -1278,6 +1281,9 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
var disconnectEvent =
|
var disconnectEvent =
|
||||||
JsonConvert.DeserializeObject<zEvent.CallDisconnect>(responseObj.ToString());
|
JsonConvert.DeserializeObject<zEvent.CallDisconnect>(responseObj.ToString());
|
||||||
|
|
||||||
|
// TODO [ ] 2021-07-20, jkd
|
||||||
|
Debug.Console(1, this, "zEvent disconnectEvent.Successful: {0}", disconnectEvent.Successful);
|
||||||
|
|
||||||
if (disconnectEvent.Successful)
|
if (disconnectEvent.Successful)
|
||||||
{
|
{
|
||||||
if (ActiveCalls.Count > 0)
|
if (ActiveCalls.Count > 0)
|
||||||
@@ -1585,7 +1591,13 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
var newCall = new CodecActiveCallItem { Status = newStatus };
|
// TODO [ ] 2021-07-20, jkd: Updated to populate name and ID when a new call is constructred
|
||||||
|
var newCall = new CodecActiveCallItem
|
||||||
|
{
|
||||||
|
Name = Status.Call.Info.meeting_list_item.meetingName,
|
||||||
|
Id = Status.Call.Info.meeting_id,
|
||||||
|
Status = newStatus
|
||||||
|
};
|
||||||
|
|
||||||
ActiveCalls.Add(newCall);
|
ActiveCalls.Add(newCall);
|
||||||
|
|
||||||
@@ -1641,7 +1653,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
//clear participants list after call cleanup
|
//clear participants list after call cleanup
|
||||||
if (ActiveCalls.Count == 0)
|
if (ActiveCalls.Count == 0)
|
||||||
{
|
{
|
||||||
Participants.CurrentParticipants = new List<Participant>();
|
var emptyList = new List<Participant>();
|
||||||
|
Participants.CurrentParticipants = emptyList;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user