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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 } | 401 } |
402 return rtp_sender_.SendOutgoingData( | 402 return rtp_sender_.SendOutgoingData( |
403 frame_type, payload_type, time_stamp, capture_time_ms, payload_data, | 403 frame_type, payload_type, time_stamp, capture_time_ms, payload_data, |
404 payload_size, fragmentation, rtp_video_header, transport_frame_id_out); | 404 payload_size, fragmentation, rtp_video_header, transport_frame_id_out); |
405 } | 405 } |
406 | 406 |
407 bool ModuleRtpRtcpImpl::TimeToSendPacket(uint32_t ssrc, | 407 bool ModuleRtpRtcpImpl::TimeToSendPacket(uint32_t ssrc, |
408 uint16_t sequence_number, | 408 uint16_t sequence_number, |
409 int64_t capture_time_ms, | 409 int64_t capture_time_ms, |
410 bool retransmission, | 410 bool retransmission, |
411 int probe_cluster_id) { | 411 const PacedPacketInfo& pacing_info) { |
412 return rtp_sender_.TimeToSendPacket(ssrc, sequence_number, capture_time_ms, | 412 return rtp_sender_.TimeToSendPacket(ssrc, sequence_number, capture_time_ms, |
413 retransmission, probe_cluster_id); | 413 retransmission, |
| 414 pacing_info.probe_cluster_id); |
414 } | 415 } |
415 | 416 |
416 size_t ModuleRtpRtcpImpl::TimeToSendPadding(size_t bytes, | 417 size_t ModuleRtpRtcpImpl::TimeToSendPadding( |
417 int probe_cluster_id) { | 418 size_t bytes, |
418 return rtp_sender_.TimeToSendPadding(bytes, probe_cluster_id); | 419 const PacedPacketInfo& pacing_info) { |
| 420 return rtp_sender_.TimeToSendPadding(bytes, pacing_info.probe_cluster_id); |
419 } | 421 } |
420 | 422 |
421 size_t ModuleRtpRtcpImpl::MaxPayloadSize() const { | 423 size_t ModuleRtpRtcpImpl::MaxPayloadSize() const { |
422 return rtp_sender_.MaxPayloadSize(); | 424 return rtp_sender_.MaxPayloadSize(); |
423 } | 425 } |
424 | 426 |
425 size_t ModuleRtpRtcpImpl::MaxRtpPacketSize() const { | 427 size_t ModuleRtpRtcpImpl::MaxRtpPacketSize() const { |
426 return rtp_sender_.MaxRtpPacketSize(); | 428 return rtp_sender_.MaxRtpPacketSize(); |
427 } | 429 } |
428 | 430 |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
911 StreamDataCountersCallback* | 913 StreamDataCountersCallback* |
912 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 914 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |
913 return rtp_sender_.GetRtpStatisticsCallback(); | 915 return rtp_sender_.GetRtpStatisticsCallback(); |
914 } | 916 } |
915 | 917 |
916 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( | 918 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( |
917 const BitrateAllocation& bitrate) { | 919 const BitrateAllocation& bitrate) { |
918 rtcp_sender_.SetVideoBitrateAllocation(bitrate); | 920 rtcp_sender_.SetVideoBitrateAllocation(bitrate); |
919 } | 921 } |
920 } // namespace webrtc | 922 } // namespace webrtc |
OLD | NEW |