Request thumbnail instead of medium for screencasts

This commit is contained in:
Ali 2021-06-15 22:05:01 +04:00
parent 0e938a6bb8
commit b908426ef5

View File

@ -4930,7 +4930,7 @@ public final class VoiceChatController: ViewController {
requestedVideoChannels.append(videoChannel)
}
if member.peer.id != self.callState?.myPeerId {
if var presentationChannel = member.requestedPresentationVideoChannel(minQuality: .thumbnail, maxQuality: .medium) {
if var presentationChannel = member.requestedPresentationVideoChannel(minQuality: .thumbnail, maxQuality: .thumbnail) {
if self.effectiveSpeaker?.1 == presentationChannel.endpointId {
presentationChannel.minQuality = .full
presentationChannel.maxQuality = .full