зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1620660 - Use streamCount consistently in CreateEncoderStreams; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D65799 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
60288ef727
Коммит
d527b76eb7
|
@ -215,7 +215,7 @@ std::vector<webrtc::VideoStream> VideoStreamFactory::CreateEncoderStreams(
|
||||||
|
|
||||||
// leave vector temporal_layer_thresholds_bps empty for non-simulcast
|
// leave vector temporal_layer_thresholds_bps empty for non-simulcast
|
||||||
video_stream.temporal_layer_thresholds_bps.clear();
|
video_stream.temporal_layer_thresholds_bps.clear();
|
||||||
if (config.number_of_streams > 1) {
|
if (streamCount > 1) {
|
||||||
// XXX Note: in simulcast.cc in upstream code, the array value is
|
// XXX Note: in simulcast.cc in upstream code, the array value is
|
||||||
// 3(-1) for all streams, though it's in an array, except for screencasts,
|
// 3(-1) for all streams, though it's in an array, except for screencasts,
|
||||||
// which use 1 (i.e 2 layers).
|
// which use 1 (i.e 2 layers).
|
||||||
|
|
Загрузка…
Ссылка в новой задаче