From 28e8a1fb11c81440d328d60138b2bbcae4145213 Mon Sep 17 00:00:00 2001 From: Alex Johnson Date: Thu, 8 Oct 2020 14:40:44 -0400 Subject: [PATCH] Fixes for selfview feedback. Rearranges order to happen in clockwise motion --- .../VideoCodec/ZoomRoom/ZoomRoom.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/ZoomRoom/ZoomRoom.cs b/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/ZoomRoom/ZoomRoom.cs index 1849f0ea..578e3dae 100644 --- a/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/ZoomRoom/ZoomRoom.cs +++ b/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/ZoomRoom/ZoomRoom.cs @@ -1762,25 +1762,21 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom SelfviewPipPositionSet(SelfviewPipPositions[nextPipPositionIndex]); } - else - { - SelfviewPipPositionSet(SelfviewPipPositions[0]); - } } public List SelfviewPipPositions = new List() { new CodecCommandWithLabel("UpLeft", "Center Left"), new CodecCommandWithLabel("UpRight", "Center Right"), - new CodecCommandWithLabel("DownLeft", "Lower Left"), - new CodecCommandWithLabel("DownRight", "Lower Right") + new CodecCommandWithLabel("DownRight", "Lower Right"), + new CodecCommandWithLabel("DownLeft", "Lower Left") }; void ComputeSelfviewPipStatus() { _currentSelfviewPipPosition = SelfviewPipPositions.FirstOrDefault( - p => p.Command.ToLower().Equals(Configuration.Call.Layout.Position.ToString())); + p => p.Command.ToLower().Equals(Configuration.Call.Layout.Position.ToString().ToLower())); } #endregion }