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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 // Configure RTCP status i.e on/off. | 490 // Configure RTCP status i.e on/off. |
491 void ModuleRtpRtcpImpl::SetRTCPStatus(const RTCPMethod method) { | 491 void ModuleRtpRtcpImpl::SetRTCPStatus(const RTCPMethod method) { |
492 rtcp_sender_.SetRTCPStatus(method); | 492 rtcp_sender_.SetRTCPStatus(method); |
493 rtcp_receiver_.SetRTCPStatus(method); | 493 rtcp_receiver_.SetRTCPStatus(method); |
494 } | 494 } |
495 | 495 |
496 int32_t ModuleRtpRtcpImpl::SetCNAME(const char* c_name) { | 496 int32_t ModuleRtpRtcpImpl::SetCNAME(const char* c_name) { |
497 return rtcp_sender_.SetCNAME(c_name); | 497 return rtcp_sender_.SetCNAME(c_name); |
498 } | 498 } |
499 | 499 |
500 int32_t ModuleRtpRtcpImpl::AddMixedCNAME(uint32_t ssrc, | 500 int32_t ModuleRtpRtcpImpl::AddMixedCNAME(uint32_t ssrc, const char* c_name) { |
501 const char c_name[RTCP_CNAME_SIZE]) { | |
502 return rtcp_sender_.AddMixedCNAME(ssrc, c_name); | 501 return rtcp_sender_.AddMixedCNAME(ssrc, c_name); |
503 } | 502 } |
504 | 503 |
505 int32_t ModuleRtpRtcpImpl::RemoveMixedCNAME(const uint32_t ssrc) { | 504 int32_t ModuleRtpRtcpImpl::RemoveMixedCNAME(const uint32_t ssrc) { |
506 return rtcp_sender_.RemoveMixedCNAME(ssrc); | 505 return rtcp_sender_.RemoveMixedCNAME(ssrc); |
507 } | 506 } |
508 | 507 |
509 int32_t ModuleRtpRtcpImpl::RemoteCNAME( | 508 int32_t ModuleRtpRtcpImpl::RemoteCNAME( |
510 const uint32_t remote_ssrc, | 509 const uint32_t remote_ssrc, |
511 char c_name[RTCP_CNAME_SIZE]) const { | 510 char c_name[RTCP_CNAME_SIZE]) const { |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( | 975 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( |
977 StreamDataCountersCallback* callback) { | 976 StreamDataCountersCallback* callback) { |
978 rtp_sender_.RegisterRtpStatisticsCallback(callback); | 977 rtp_sender_.RegisterRtpStatisticsCallback(callback); |
979 } | 978 } |
980 | 979 |
981 StreamDataCountersCallback* | 980 StreamDataCountersCallback* |
982 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 981 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |
983 return rtp_sender_.GetRtpStatisticsCallback(); | 982 return rtp_sender_.GetRtpStatisticsCallback(); |
984 } | 983 } |
985 } // namespace webrtc | 984 } // namespace webrtc |
OLD | NEW |