mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 20:54:55 +00:00
Fixes for selfview feedback. Rearranges order to happen in clockwise motion
This commit is contained in:
@@ -1762,25 +1762,21 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
|
|
||||||
SelfviewPipPositionSet(SelfviewPipPositions[nextPipPositionIndex]);
|
SelfviewPipPositionSet(SelfviewPipPositions[nextPipPositionIndex]);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
SelfviewPipPositionSet(SelfviewPipPositions[0]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<CodecCommandWithLabel> SelfviewPipPositions = new List<CodecCommandWithLabel>()
|
public List<CodecCommandWithLabel> SelfviewPipPositions = new List<CodecCommandWithLabel>()
|
||||||
{
|
{
|
||||||
new CodecCommandWithLabel("UpLeft", "Center Left"),
|
new CodecCommandWithLabel("UpLeft", "Center Left"),
|
||||||
new CodecCommandWithLabel("UpRight", "Center Right"),
|
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()
|
void ComputeSelfviewPipStatus()
|
||||||
{
|
{
|
||||||
_currentSelfviewPipPosition =
|
_currentSelfviewPipPosition =
|
||||||
SelfviewPipPositions.FirstOrDefault(
|
SelfviewPipPositions.FirstOrDefault(
|
||||||
p => p.Command.ToLower().Equals(Configuration.Call.Layout.Position.ToString()));
|
p => p.Command.ToLower().Equals(Configuration.Call.Layout.Position.ToString().ToLower()));
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user