Switch temporal layer impl used for screenshare upper simulcast stream.

Use default temporal layers instead of the RealtimeTemporalLayers one.
When using low fps, having a single stream with much higher bitrate than
the lower simulcast stream causes poor rampup behavior.

Tested manually.

BUG=webrtc:4172

Review-Url: https://codereview.webrtc.org/2723983002
Cr-Commit-Position: refs/heads/master@{#16934}
This commit is contained in:
sprang
2017-03-01 01:58:17 -08:00
committed by Commit bot
parent 09f090c40e
commit 5271ea6571

View File

@ -62,7 +62,7 @@ webrtc::TemporalLayers* ScreenshareTemporalLayersFactory::Create(
tl = new webrtc::ScreenshareLayers(num_temporal_layers, rand(),
webrtc::Clock::GetRealTimeClock());
} else {
RealTimeTemporalLayersFactory rt_tl_factory;
TemporalLayersFactory rt_tl_factory;
tl = rt_tl_factory.Create(simulcast_id, num_temporal_layers, rand());
}
if (listener_)