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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 return rtp_rtcp; | 80 return rtp_rtcp; |
81 } | 81 } |
82 | 82 |
83 static const int kPacketLogIntervalMs = 10000; | 83 static const int kPacketLogIntervalMs = 10000; |
84 | 84 |
85 RtpStreamReceiver::RtpStreamReceiver( | 85 RtpStreamReceiver::RtpStreamReceiver( |
86 vcm::VideoReceiver* video_receiver, | 86 vcm::VideoReceiver* video_receiver, |
87 RemoteBitrateEstimator* remote_bitrate_estimator, | 87 RemoteBitrateEstimator* remote_bitrate_estimator, |
88 Transport* transport, | 88 Transport* transport, |
89 RtcpRttStats* rtt_stats, | 89 RtcpRttStats* rtt_stats, |
90 PacedSender* paced_sender, | 90 RtpPacketSender* paced_sender, |
91 PacketRouter* packet_router, | 91 PacketRouter* packet_router, |
92 VieRemb* remb, | 92 VieRemb* remb, |
93 const VideoReceiveStream::Config* config, | 93 const VideoReceiveStream::Config* config, |
94 ReceiveStatisticsProxy* receive_stats_proxy, | 94 ReceiveStatisticsProxy* receive_stats_proxy, |
95 ProcessThread* process_thread, | 95 ProcessThread* process_thread, |
96 RateLimiter* retransmission_rate_limiter, | 96 RateLimiter* retransmission_rate_limiter, |
97 NackSender* nack_sender, | 97 NackSender* nack_sender, |
98 KeyFrameRequestSender* keyframe_request_sender, | 98 KeyFrameRequestSender* keyframe_request_sender, |
99 video_coding::OnCompleteFrameCallback* complete_frame_callback, | 99 video_coding::OnCompleteFrameCallback* complete_frame_callback, |
100 VCMTiming* timing) | 100 VCMTiming* timing) |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 const std::string& extension, int id) { | 644 const std::string& extension, int id) { |
645 // One-byte-extension local identifiers are in the range 1-14 inclusive. | 645 // One-byte-extension local identifiers are in the range 1-14 inclusive. |
646 RTC_DCHECK_GE(id, 1); | 646 RTC_DCHECK_GE(id, 1); |
647 RTC_DCHECK_LE(id, 14); | 647 RTC_DCHECK_LE(id, 14); |
648 RTC_DCHECK(RtpExtension::IsSupportedForVideo(extension)); | 648 RTC_DCHECK(RtpExtension::IsSupportedForVideo(extension)); |
649 RTC_CHECK(rtp_header_parser_->RegisterRtpHeaderExtension( | 649 RTC_CHECK(rtp_header_parser_->RegisterRtpHeaderExtension( |
650 StringToRtpExtensionType(extension), id)); | 650 StringToRtpExtensionType(extension), id)); |
651 } | 651 } |
652 | 652 |
653 } // namespace webrtc | 653 } // namespace webrtc |
OLD | NEW |