Updates VideoCodecControllerJoinMap.cs to organize joins. Update to VideoCodecBase.cs UpdateParticipantsXSig.

This commit is contained in:
Jason DeVito
2021-05-11 11:19:33 -05:00
parent 116abbf962
commit 118bd5a54a
2 changed files with 1073 additions and 709 deletions

View File

@@ -559,10 +559,10 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
const int maxDigitals = 7;
const int maxStrings = 1;
const int maxAnalogs = 1;
const int offset = maxDigitals + maxStrings + maxAnalogs;
var digitalIndex = maxStrings + maxAnalogs * maxParticipants; //15
const int offset = maxDigitals + maxStrings + maxAnalogs; // 9
var digitalIndex = (maxStrings + maxAnalogs) * maxParticipants; // 100
var stringIndex = 0;
var analogIndex = 0;
var analogIndex = stringIndex + maxParticipants;
var meetingIndex = 0;
var tokenArray = new XSigToken[maxParticipants * offset];