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:
@ -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_)
|
||||
|
||||
Reference in New Issue
Block a user