mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
Removed old TODO's from VideoCodecBase.cs. Marked TODO's for Issue #697.
This commit is contained in:
@@ -27,8 +27,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||||||
{
|
{
|
||||||
event EventHandler<LayoutInfoChangedEventArgs> AvailableLayoutsChanged;
|
event EventHandler<LayoutInfoChangedEventArgs> AvailableLayoutsChanged;
|
||||||
|
|
||||||
BoolFeedback LayoutViewIsOnFirstPageFeedback { get; } // TODO: #697 [ ] Consider modifying to report button visibility in func
|
BoolFeedback LayoutViewIsOnFirstPageFeedback { get; } // TODO: #697 [*] Consider modifying to report button visibility in func
|
||||||
BoolFeedback LayoutViewIsOnLastPageFeedback { get; } // TODO: #697 [ ] Consider modifying to report button visibility in func
|
BoolFeedback LayoutViewIsOnLastPageFeedback { get; } // TODO: #697 [*] Consider modifying to report button visibility in func
|
||||||
BoolFeedback CanSwapContentWithThumbnailFeedback { get; }
|
BoolFeedback CanSwapContentWithThumbnailFeedback { get; }
|
||||||
BoolFeedback ContentSwappedWithThumbnailFeedback { get; }
|
BoolFeedback ContentSwappedWithThumbnailFeedback { get; }
|
||||||
|
|
||||||
|
|||||||
@@ -673,7 +673,6 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||||||
trilist.SetBoolSigAction(joinMap.SourceShareAutoStart.JoinNumber, (b) => AutoShareContentWhileInCall = b);
|
trilist.SetBoolSigAction(joinMap.SourceShareAutoStart.JoinNumber, (b) => AutoShareContentWhileInCall = b);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO [ ] 2021-01-06, jkd: Added to debug OBTP dialing issues
|
|
||||||
private List<Meeting> _currentMeetings = new List<Meeting>();
|
private List<Meeting> _currentMeetings = new List<Meeting>();
|
||||||
|
|
||||||
private void LinkVideoCodecScheduleToApi(IHasScheduleAwareness codec, BasicTriList trilist, VideoCodecControllerJoinMap joinMap)
|
private void LinkVideoCodecScheduleToApi(IHasScheduleAwareness codec, BasicTriList trilist, VideoCodecControllerJoinMap joinMap)
|
||||||
@@ -685,7 +684,6 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||||||
codec.CodecSchedule.MeetingWarningMinutes = i;
|
codec.CodecSchedule.MeetingWarningMinutes = i;
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO [ ] 2021-01-06, jkd: Added to debug OBTP dialing issues
|
|
||||||
trilist.SetSigFalseAction(joinMap.DialMeeting1.JoinNumber, () =>
|
trilist.SetSigFalseAction(joinMap.DialMeeting1.JoinNumber, () =>
|
||||||
{
|
{
|
||||||
var mtg = 1;
|
var mtg = 1;
|
||||||
@@ -695,7 +693,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||||||
if (_currentMeetings[index] != null)
|
if (_currentMeetings[index] != null)
|
||||||
Dial(_currentMeetings[index]);
|
Dial(_currentMeetings[index]);
|
||||||
});
|
});
|
||||||
// TODO [ ] 2021-01-06, jkd: Added to debug OBTP dialing issues
|
|
||||||
trilist.SetSigFalseAction(joinMap.DialMeeting2.JoinNumber, () =>
|
trilist.SetSigFalseAction(joinMap.DialMeeting2.JoinNumber, () =>
|
||||||
{
|
{
|
||||||
var mtg = 2;
|
var mtg = 2;
|
||||||
@@ -705,7 +703,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||||||
if (_currentMeetings[index] != null)
|
if (_currentMeetings[index] != null)
|
||||||
Dial(_currentMeetings[index]);
|
Dial(_currentMeetings[index]);
|
||||||
});
|
});
|
||||||
// TODO [ ] 2021-01-06, jkd: Added to debug OBTP dialing issues
|
|
||||||
trilist.SetSigFalseAction(joinMap.DialMeeting3.JoinNumber, () =>
|
trilist.SetSigFalseAction(joinMap.DialMeeting3.JoinNumber, () =>
|
||||||
{
|
{
|
||||||
var mtg = 3;
|
var mtg = 3;
|
||||||
@@ -730,14 +728,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||||||
{
|
{
|
||||||
var currentTime = DateTime.Now;
|
var currentTime = DateTime.Now;
|
||||||
|
|
||||||
// TODO [ ] 2021-01-06, jkd: Added to debug OBTP dialing issues
|
|
||||||
// - changed var currentMeetings >> field _currentMeetings
|
|
||||||
//_currentMeetings.Clear();
|
|
||||||
_currentMeetings = codec.CodecSchedule.Meetings.Where(m => m.StartTime >= currentTime || m.EndTime >= currentTime).ToList();
|
_currentMeetings = codec.CodecSchedule.Meetings.Where(m => m.StartTime >= currentTime || m.EndTime >= currentTime).ToList();
|
||||||
|
|
||||||
// TODO [ ] 2021-01-06, jkd: Added to debug OBTP dialing issues
|
|
||||||
// - moved the trilist.SetSigFlaseAction(joinMap.DialMeeting1..3.JoinNumber) lambda's to LinkVideoCodecScheduleToApi
|
|
||||||
|
|
||||||
var meetingsData = UpdateMeetingsListXSig(_currentMeetings);
|
var meetingsData = UpdateMeetingsListXSig(_currentMeetings);
|
||||||
trilist.SetString(joinMap.Schedule.JoinNumber, meetingsData);
|
trilist.SetString(joinMap.Schedule.JoinNumber, meetingsData);
|
||||||
trilist.SetUshort(joinMap.MeetingCount.JoinNumber, (ushort)_currentMeetings.Count);
|
trilist.SetUshort(joinMap.MeetingCount.JoinNumber, (ushort)_currentMeetings.Count);
|
||||||
|
|||||||
@@ -870,7 +870,6 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
_jsonCurlyBraceCounter--;
|
_jsonCurlyBraceCounter--;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO [X] 2021-05-12, jkd: turned off to reduce console traffic
|
|
||||||
//Debug.Console(2, this, "JSON Curly Brace Count: {0}", _jsonCurlyBraceCounter);
|
//Debug.Console(2, this, "JSON Curly Brace Count: {0}", _jsonCurlyBraceCounter);
|
||||||
|
|
||||||
if (!_jsonFeedbackMessageIsIncoming && message.Trim('\x20') == "{" + Delimiter)
|
if (!_jsonFeedbackMessageIsIncoming && message.Trim('\x20') == "{" + Delimiter)
|
||||||
@@ -2242,7 +2241,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
private void ComputeAvailableLayouts()
|
private void ComputeAvailableLayouts()
|
||||||
{
|
{
|
||||||
zConfiguration.eLayoutStyle availableLayouts = zConfiguration.eLayoutStyle.None;
|
zConfiguration.eLayoutStyle availableLayouts = zConfiguration.eLayoutStyle.None;
|
||||||
// TODO: #697 [ ] Compute the avaialble layouts and set the value of AvailableLayouts
|
// TODO: #697 [X] Compute the avaialble layouts and set the value of AvailableLayouts
|
||||||
// Will need to test and confirm that this logic evaluates correctly
|
// Will need to test and confirm that this logic evaluates correctly
|
||||||
if (Status.Layout.can_Switch_Wall_View)
|
if (Status.Layout.can_Switch_Wall_View)
|
||||||
{
|
{
|
||||||
@@ -2291,7 +2290,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
if (CanSwapContentWithThumbnailFeedback.BoolValue)
|
if (CanSwapContentWithThumbnailFeedback.BoolValue)
|
||||||
{
|
{
|
||||||
var oppositeValue = ContentSwappedWithThumbnailFeedback.BoolValue ? "on" : "off"; // Get the value based on the opposite of the current state
|
var oppositeValue = ContentSwappedWithThumbnailFeedback.BoolValue ? "on" : "off"; // Get the value based on the opposite of the current state
|
||||||
// TODO: #697 [ ] Need to verify the ternary above and make sure that the correct on/off value is being send based on the true/false value of the feedback
|
// TODO: #697 [*] Need to verify the ternary above and make sure that the correct on/off value is being send based on the true/false value of the feedback
|
||||||
// to toggle the state
|
// to toggle the state
|
||||||
SendText(String.Format("zConfiguration Call Layout ShareThumb: {0}", oppositeValue));
|
SendText(String.Format("zConfiguration Call Layout ShareThumb: {0}", oppositeValue));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user