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

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

Issue 2986793002: Remove deprecated RtpRtcp::SetAudioPacketSize (Closed)
Patch Set: Created 3 years, 4 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 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 } 770 }
771 771
772 // Send a TelephoneEvent tone using RFC 2833 (4733). 772 // Send a TelephoneEvent tone using RFC 2833 (4733).
773 int32_t ModuleRtpRtcpImpl::SendTelephoneEventOutband( 773 int32_t ModuleRtpRtcpImpl::SendTelephoneEventOutband(
774 const uint8_t key, 774 const uint8_t key,
775 const uint16_t time_ms, 775 const uint16_t time_ms,
776 const uint8_t level) { 776 const uint8_t level) {
777 return rtp_sender_->SendTelephoneEvent(key, time_ms, level); 777 return rtp_sender_->SendTelephoneEvent(key, time_ms, level);
778 } 778 }
779 779
780 int32_t ModuleRtpRtcpImpl::SetAudioPacketSize(
781 const uint16_t packet_size_samples) {
782 return audio_ ? 0 : -1;
783 }
784
785 int32_t ModuleRtpRtcpImpl::SetAudioLevel( 780 int32_t ModuleRtpRtcpImpl::SetAudioLevel(
786 const uint8_t level_d_bov) { 781 const uint8_t level_d_bov) {
787 return rtp_sender_->SetAudioLevel(level_d_bov); 782 return rtp_sender_->SetAudioLevel(level_d_bov);
788 } 783 }
789 784
790 int32_t ModuleRtpRtcpImpl::SetKeyFrameRequestMethod( 785 int32_t ModuleRtpRtcpImpl::SetKeyFrameRequestMethod(
791 const KeyFrameRequestMethod method) { 786 const KeyFrameRequestMethod method) {
792 key_frame_req_method_ = method; 787 key_frame_req_method_ = method;
793 return 0; 788 return 0;
794 } 789 }
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 StreamDataCountersCallback* 916 StreamDataCountersCallback*
922 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { 917 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const {
923 return rtp_sender_->GetRtpStatisticsCallback(); 918 return rtp_sender_->GetRtpStatisticsCallback();
924 } 919 }
925 920
926 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( 921 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation(
927 const BitrateAllocation& bitrate) { 922 const BitrateAllocation& bitrate) {
928 rtcp_sender_.SetVideoBitrateAllocation(bitrate); 923 rtcp_sender_.SetVideoBitrateAllocation(bitrate);
929 } 924 }
930 } // namespace webrtc 925 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698