mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-04 10:30:42 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
66904581d6
@ -908,6 +908,11 @@ private:
|
|||||||
videoCodecPreferences.push_back(tgcalls::VideoCodecName::VP8);
|
videoCodecPreferences.push_back(tgcalls::VideoCodecName::VP8);
|
||||||
videoCodecPreferences.push_back(tgcalls::VideoCodecName::VP9);
|
videoCodecPreferences.push_back(tgcalls::VideoCodecName::VP9);
|
||||||
|
|
||||||
|
int minOutgoingVideoBitrateKbit = 100;
|
||||||
|
#if DEBUG
|
||||||
|
//minOutgoingVideoBitrateKbit = 900;
|
||||||
|
#endif
|
||||||
|
|
||||||
__weak GroupCallThreadLocalContext *weakSelf = self;
|
__weak GroupCallThreadLocalContext *weakSelf = self;
|
||||||
_instance.reset(new tgcalls::GroupInstanceCustomImpl((tgcalls::GroupInstanceDescriptor){
|
_instance.reset(new tgcalls::GroupInstanceCustomImpl((tgcalls::GroupInstanceDescriptor){
|
||||||
.threads = tgcalls::StaticThreads::getThreads(),
|
.threads = tgcalls::StaticThreads::getThreads(),
|
||||||
@ -932,7 +937,6 @@ private:
|
|||||||
}
|
}
|
||||||
audioLevelsUpdated(result);
|
audioLevelsUpdated(result);
|
||||||
},
|
},
|
||||||
.minOutgoingVideoBitrateKbit = 1024,
|
|
||||||
.initialInputDeviceId = inputDeviceId.UTF8String,
|
.initialInputDeviceId = inputDeviceId.UTF8String,
|
||||||
.initialOutputDeviceId = outputDeviceId.UTF8String,
|
.initialOutputDeviceId = outputDeviceId.UTF8String,
|
||||||
.videoCapture = [_videoCapturer getInterface],
|
.videoCapture = [_videoCapturer getInterface],
|
||||||
@ -1013,7 +1017,8 @@ private:
|
|||||||
});
|
});
|
||||||
|
|
||||||
return std::make_shared<RequestMediaChannelDescriptionTaskImpl>(task);
|
return std::make_shared<RequestMediaChannelDescriptionTaskImpl>(task);
|
||||||
}
|
},
|
||||||
|
.minOutgoingVideoBitrateKbit = minOutgoingVideoBitrateKbit
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user