OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |