mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
Bug 1692873 - Use the same number of temporal layers for both screensharing and non-screensharing simulcast. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D227493
This commit is contained in:
parent
d122b64bc0
commit
7806426971
@ -237,11 +237,7 @@ std::vector<webrtc::VideoStream> VideoStreamFactory::CreateEncoderStreams(
|
||||
video_stream.max_qp = kQpMax;
|
||||
|
||||
if (streamCount > 1) {
|
||||
if (mCodecMode == webrtc::VideoCodecMode::kScreensharing) {
|
||||
video_stream.num_temporal_layers = 1;
|
||||
} else {
|
||||
video_stream.num_temporal_layers = 2;
|
||||
}
|
||||
video_stream.num_temporal_layers = 2;
|
||||
// XXX Bug 1390215 investigate using more of
|
||||
// simulcast.cc:GetSimulcastConfig() or our own algorithm to replace it
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user