mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-08 05:55:13 +00:00
videocontenttype [skip ci]
This commit is contained in:
@@ -871,12 +871,19 @@ private:
|
||||
switch (videoContentType) {
|
||||
case OngoingGroupCallVideoContentTypeGeneric:
|
||||
_videoContentType = tgcalls::VideoContentType::Generic;
|
||||
break;
|
||||
case OngoingGroupCallVideoContentTypeScreencast:
|
||||
_videoContentType = tgcalls::VideoContentType::Screencast;
|
||||
break;
|
||||
case OngoingGroupCallVideoContentTypeNone:
|
||||
_videoContentType = tgcalls::VideoContentType::None;
|
||||
break;
|
||||
}
|
||||
|
||||
std::vector<tgcalls::VideoCodecName> videoCodecPreferences;
|
||||
videoCodecPreferences.push_back(tgcalls::VideoCodecName::VP8);
|
||||
videoCodecPreferences.push_back(tgcalls::VideoCodecName::VP9);
|
||||
|
||||
__weak GroupCallThreadLocalContext *weakSelf = self;
|
||||
_instance.reset(new tgcalls::GroupInstanceCustomImpl((tgcalls::GroupInstanceDescriptor){
|
||||
.threads = tgcalls::StaticThreads::getThreads(),
|
||||
@@ -955,6 +962,7 @@ private:
|
||||
},
|
||||
.outgoingAudioBitrateKbit = outgoingAudioBitrateKbit,
|
||||
.videoContentType = _videoContentType,
|
||||
.videoCodecPreferences = videoCodecPreferences,
|
||||
.initialEnableNoiseSuppression = enableNoiseSuppression
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user