Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: webrtc/video/rtp_video_stream_receiver.cc

Issue 2918333002: Reland of Only compare sequence numbers from the same SSRC in ForwardErrorCorrection. (Closed)
Patch Set: Let ForwardErrorCorrection be aware of its SSRCs. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 config_(*config), 93 config_(*config),
94 packet_router_(packet_router), 94 packet_router_(packet_router),
95 process_thread_(process_thread), 95 process_thread_(process_thread),
96 ntp_estimator_(clock_), 96 ntp_estimator_(clock_),
97 rtp_header_parser_(RtpHeaderParser::Create()), 97 rtp_header_parser_(RtpHeaderParser::Create()),
98 rtp_receiver_(RtpReceiver::CreateVideoReceiver(clock_, 98 rtp_receiver_(RtpReceiver::CreateVideoReceiver(clock_,
99 this, 99 this,
100 this, 100 this,
101 &rtp_payload_registry_)), 101 &rtp_payload_registry_)),
102 rtp_receive_statistics_(ReceiveStatistics::Create(clock_)), 102 rtp_receive_statistics_(ReceiveStatistics::Create(clock_)),
103 ulpfec_receiver_(UlpfecReceiver::Create(this)), 103 ulpfec_receiver_(UlpfecReceiver::Create(config->rtp.remote_ssrc, this)),
104 receiving_(false), 104 receiving_(false),
105 restored_packet_in_use_(false), 105 restored_packet_in_use_(false),
106 last_packet_log_ms_(-1), 106 last_packet_log_ms_(-1),
107 rtp_rtcp_(CreateRtpRtcpModule(rtp_receive_statistics_.get(), 107 rtp_rtcp_(CreateRtpRtcpModule(rtp_receive_statistics_.get(),
108 transport, 108 transport,
109 rtt_stats, 109 rtt_stats,
110 receive_stats_proxy, 110 receive_stats_proxy,
111 packet_router)), 111 packet_router)),
112 complete_frame_callback_(complete_frame_callback), 112 complete_frame_callback_(complete_frame_callback),
113 keyframe_request_sender_(keyframe_request_sender), 113 keyframe_request_sender_(keyframe_request_sender),
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 return; 680 return;
681 681
682 if (!sprop_decoder.DecodeSprop(sprop_base64_it->second.c_str())) 682 if (!sprop_decoder.DecodeSprop(sprop_base64_it->second.c_str()))
683 return; 683 return;
684 684
685 tracker_.InsertSpsPpsNalus(sprop_decoder.sps_nalu(), 685 tracker_.InsertSpsPpsNalus(sprop_decoder.sps_nalu(),
686 sprop_decoder.pps_nalu()); 686 sprop_decoder.pps_nalu());
687 } 687 }
688 688
689 } // namespace webrtc 689 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698