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 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
918 return rtcp_receiver_.LastReceivedXrReferenceTimeInfo(info); | 918 return rtcp_receiver_.LastReceivedXrReferenceTimeInfo(info); |
919 } | 919 } |
920 | 920 |
921 bool ModuleRtpRtcpImpl::UpdateRTCPReceiveInformationTimers() { | 921 bool ModuleRtpRtcpImpl::UpdateRTCPReceiveInformationTimers() { |
922 // If this returns true this channel has timed out. | 922 // If this returns true this channel has timed out. |
923 // Periodically check if this is true and if so call UpdateTMMBR. | 923 // Periodically check if this is true and if so call UpdateTMMBR. |
924 return rtcp_receiver_.UpdateRTCPReceiveInformationTimers(); | 924 return rtcp_receiver_.UpdateRTCPReceiveInformationTimers(); |
925 } | 925 } |
926 | 926 |
927 // Called from RTCPsender. | 927 // Called from RTCPsender. |
928 int32_t ModuleRtpRtcpImpl::BoundingSet(bool* tmmbr_owner, | 928 std::vector<rtcp::TmmbItem> ModuleRtpRtcpImpl::BoundingSet(bool* tmmbr_owner) { |
929 TMMBRSet* bounding_set) { | 929 return rtcp_receiver_.BoundingSet(tmmbr_owner); |
930 return rtcp_receiver_.BoundingSet(tmmbr_owner, bounding_set); | |
931 } | 930 } |
932 | 931 |
933 int64_t ModuleRtpRtcpImpl::RtcpReportInterval() { | 932 int64_t ModuleRtpRtcpImpl::RtcpReportInterval() { |
934 if (audio_) | 933 if (audio_) |
935 return RTCP_INTERVAL_AUDIO_MS; | 934 return RTCP_INTERVAL_AUDIO_MS; |
936 else | 935 else |
937 return RTCP_INTERVAL_VIDEO_MS; | 936 return RTCP_INTERVAL_VIDEO_MS; |
938 } | 937 } |
939 | 938 |
940 void ModuleRtpRtcpImpl::SetRtcpReceiverSsrcs(uint32_t main_ssrc) { | 939 void ModuleRtpRtcpImpl::SetRtcpReceiverSsrcs(uint32_t main_ssrc) { |
(...skipping 17 matching lines...) Expand all Loading... |
958 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( | 957 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( |
959 StreamDataCountersCallback* callback) { | 958 StreamDataCountersCallback* callback) { |
960 rtp_sender_.RegisterRtpStatisticsCallback(callback); | 959 rtp_sender_.RegisterRtpStatisticsCallback(callback); |
961 } | 960 } |
962 | 961 |
963 StreamDataCountersCallback* | 962 StreamDataCountersCallback* |
964 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 963 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |
965 return rtp_sender_.GetRtpStatisticsCallback(); | 964 return rtp_sender_.GetRtpStatisticsCallback(); |
966 } | 965 } |
967 } // namespace webrtc | 966 } // namespace webrtc |
OLD | NEW |