feat:(Essentials) Update UI functionality depending on Zoom Meeting type

This commit is contained in:
Andrew Welker
2021-09-07 18:12:52 -06:00
parent 44509dc5ae
commit f791feb848
3 changed files with 66 additions and 11 deletions

View File

@@ -716,10 +716,17 @@ namespace PepperDash.Essentials
if (_isZoomRoomWithNoExternalSources)
{
(CurrentRoom as IRunDefaultPresentRoute).RunDefaultPresentRoute();
CurrentRoom.RunDefaultPresentRoute();
// For now, if this is a Zoom Room and there are no shareable sources just display the informational subpage
TriList.SetBool(UIBoolJoin.ZoomRoomContentSharingVisible, true);
var presentationMeetingCodec = CurrentRoom.VideoCodec as IHasPresentationOnlyMeeting;
if (presentationMeetingCodec != null && !CurrentRoom.VideoCodec.IsInCall)
{
presentationMeetingCodec.StartSharingOnlyMeeting(eSharingMeetingMode.Laptop);
}
if (CurrentSourcePageManager != null)
CurrentSourcePageManager.Hide();
}