Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc

Issue 1746773002: [rtp_rtcp] tmmbr helper simplified by moving set_to_send member out (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 686
687 // (TMMBR) Temporary Max Media Bit Rate. 687 // (TMMBR) Temporary Max Media Bit Rate.
688 bool ModuleRtpRtcpImpl::TMMBR() const { 688 bool ModuleRtpRtcpImpl::TMMBR() const {
689 return rtcp_sender_.TMMBR(); 689 return rtcp_sender_.TMMBR();
690 } 690 }
691 691
692 void ModuleRtpRtcpImpl::SetTMMBRStatus(const bool enable) { 692 void ModuleRtpRtcpImpl::SetTMMBRStatus(const bool enable) {
693 rtcp_sender_.SetTMMBRStatus(enable); 693 rtcp_sender_.SetTMMBRStatus(enable);
694 } 694 }
695 695
696 int32_t ModuleRtpRtcpImpl::SetTMMBN(const TMMBRSet* bounding_set) { 696 void ModuleRtpRtcpImpl::SetTMMBN(const TMMBRSet* bounding_set) {
697 return rtcp_sender_.SetTMMBN(bounding_set); 697 rtcp_sender_.SetTMMBN(bounding_set);
698 } 698 }
699 699
700 // Returns the currently configured retransmission mode. 700 // Returns the currently configured retransmission mode.
701 int ModuleRtpRtcpImpl::SelectiveRetransmissions() const { 701 int ModuleRtpRtcpImpl::SelectiveRetransmissions() const {
702 return rtp_sender_.SelectiveRetransmissions(); 702 return rtp_sender_.SelectiveRetransmissions();
703 } 703 }
704 704
705 // Enable or disable a retransmission mode, which decides which packets will 705 // Enable or disable a retransmission mode, which decides which packets will
706 // be retransmitted if NACKed. 706 // be retransmitted if NACKed.
707 int ModuleRtpRtcpImpl::SetSelectiveRetransmissions(uint8_t settings) { 707 int ModuleRtpRtcpImpl::SetSelectiveRetransmissions(uint8_t settings) {
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( 997 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback(
998 StreamDataCountersCallback* callback) { 998 StreamDataCountersCallback* callback) {
999 rtp_sender_.RegisterRtpStatisticsCallback(callback); 999 rtp_sender_.RegisterRtpStatisticsCallback(callback);
1000 } 1000 }
1001 1001
1002 StreamDataCountersCallback* 1002 StreamDataCountersCallback*
1003 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { 1003 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const {
1004 return rtp_sender_.GetRtpStatisticsCallback(); 1004 return rtp_sender_.GetRtpStatisticsCallback();
1005 } 1005 }
1006 } // namespace webrtc 1006 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698