Prevent constantly requesting new video resolutions in group calls.

This commit is contained in:
Cody Henthorne
2021-08-13 09:28:43 -04:00
parent 0c6fe8bea3
commit 8802cebb64
5 changed files with 42 additions and 18 deletions

View File

@@ -173,7 +173,7 @@ public class GroupActionProcessor extends DeviceAwareActionProcessor {
BroadcastVideoSink.RequestedSize maxSize = videoSink.getMaxRequestingSize();
resolutionRequests.add(new GroupCall.VideoRequest(entry.getKey().getDemuxId(), maxSize.getWidth(), maxSize.getHeight(), null));
videoSink.newSizeRequested();
videoSink.setCurrentlyRequestedMaxSize(maxSize);
}
try {