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

Side by Side Diff: video/rtp_video_stream_receiver.cc

Issue 2826263004: Move responsibility for RTP header extensions on video receive. (Closed)
Patch Set: Crude rebase. Created 3 years, 2 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
« no previous file with comments | « video/end_to_end_tests.cc ('k') | video/video_quality_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 ProcessThread* process_thread, 90 ProcessThread* process_thread,
91 NackSender* nack_sender, 91 NackSender* nack_sender,
92 KeyFrameRequestSender* keyframe_request_sender, 92 KeyFrameRequestSender* keyframe_request_sender,
93 video_coding::OnCompleteFrameCallback* complete_frame_callback, 93 video_coding::OnCompleteFrameCallback* complete_frame_callback,
94 VCMTiming* timing) 94 VCMTiming* timing)
95 : clock_(Clock::GetRealTimeClock()), 95 : clock_(Clock::GetRealTimeClock()),
96 config_(*config), 96 config_(*config),
97 packet_router_(packet_router), 97 packet_router_(packet_router),
98 process_thread_(process_thread), 98 process_thread_(process_thread),
99 ntp_estimator_(clock_), 99 ntp_estimator_(clock_),
100 #if 0
100 rtp_header_extensions_(config_.rtp.extensions), 101 rtp_header_extensions_(config_.rtp.extensions),
102 #endif
101 rtp_receiver_(RtpReceiver::CreateVideoReceiver(clock_, 103 rtp_receiver_(RtpReceiver::CreateVideoReceiver(clock_,
102 this, 104 this,
103 this, 105 this,
104 &rtp_payload_registry_)), 106 &rtp_payload_registry_)),
105 rtp_receive_statistics_(rtp_receive_statistics), 107 rtp_receive_statistics_(rtp_receive_statistics),
106 ulpfec_receiver_(UlpfecReceiver::Create(config->rtp.remote_ssrc, this)), 108 ulpfec_receiver_(UlpfecReceiver::Create(config->rtp.remote_ssrc, this)),
107 receiving_(false), 109 receiving_(false),
108 last_packet_log_ms_(-1), 110 last_packet_log_ms_(-1),
109 rtp_rtcp_(CreateRtpRtcpModule(rtp_receive_statistics_, 111 rtp_rtcp_(CreateRtpRtcpModule(rtp_receive_statistics_,
110 transport, 112 transport,
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 return; 658 return;
657 659
658 if (!sprop_decoder.DecodeSprop(sprop_base64_it->second.c_str())) 660 if (!sprop_decoder.DecodeSprop(sprop_base64_it->second.c_str()))
659 return; 661 return;
660 662
661 tracker_.InsertSpsPpsNalus(sprop_decoder.sps_nalu(), 663 tracker_.InsertSpsPpsNalus(sprop_decoder.sps_nalu(),
662 sprop_decoder.pps_nalu()); 664 sprop_decoder.pps_nalu());
663 } 665 }
664 666
665 } // namespace webrtc 667 } // namespace webrtc
OLDNEW
« no previous file with comments | « video/end_to_end_tests.cc ('k') | video/video_quality_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698