Chromium Code Reviews| Index: webrtc/video/video_send_stream.cc |
| diff --git a/webrtc/video/video_send_stream.cc b/webrtc/video/video_send_stream.cc |
| index 3b4238c47da00fe4c07a3654d2ecdf1a7bedd303..0b793a38a799faa8250fbae528243785218fd607 100644 |
| --- a/webrtc/video/video_send_stream.cc |
| +++ b/webrtc/video/video_send_stream.cc |
| @@ -797,8 +797,12 @@ VideoSendStreamImpl::VideoSendStreamImpl( |
| config_->periodic_alr_bandwidth_probing); |
| // RTP/RTCP initialization. |
| + |
| + // We add the highest spatial layer first to ensure it'll be prioritized |
| + // when sending padding, with the hope that the packet rate will be smaller, |
| + // and that it's more important to protect than the lower layers. |
| for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) { |
|
mflodman
2017/01/27 12:57:59
Remove {}, to be consistent with the rest of the f
stefan-webrtc
2017/01/27 13:05:19
Done.
|
| - packet_router_->AddRtpModule(rtp_rtcp); |
| + packet_router->AddRtpModule(rtp_rtcp); |
| } |
| for (size_t i = 0; i < config_->rtp.extensions.size(); ++i) { |