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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_sender.h

Issue 1803923003: Clean away use of RtpAudioFeedback interface from RTP/RTCP sender code. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 VideoRotation rotation) const = 0; 83 VideoRotation rotation) const = 0;
84 virtual bool IsRtpHeaderExtensionRegistered(RTPExtensionType type) = 0; 84 virtual bool IsRtpHeaderExtensionRegistered(RTPExtensionType type) = 0;
85 virtual CVOMode ActivateCVORtpHeaderExtension() = 0; 85 virtual CVOMode ActivateCVORtpHeaderExtension() = 0;
86 }; 86 };
87 87
88 class RTPSender : public RTPSenderInterface { 88 class RTPSender : public RTPSenderInterface {
89 public: 89 public:
90 RTPSender(bool audio, 90 RTPSender(bool audio,
91 Clock* clock, 91 Clock* clock,
92 Transport* transport, 92 Transport* transport,
93 RtpAudioFeedback* audio_feedback,
94 RtpPacketSender* paced_sender, 93 RtpPacketSender* paced_sender,
95 TransportSequenceNumberAllocator* sequence_number_allocator, 94 TransportSequenceNumberAllocator* sequence_number_allocator,
96 TransportFeedbackObserver* transport_feedback_callback, 95 TransportFeedbackObserver* transport_feedback_callback,
97 BitrateStatisticsObserver* bitrate_callback, 96 BitrateStatisticsObserver* bitrate_callback,
98 FrameCountObserver* frame_count_observer, 97 FrameCountObserver* frame_count_observer,
99 SendSideDelayObserver* send_side_delay_observer, 98 SendSideDelayObserver* send_side_delay_observer,
100 RtcEventLog* event_log); 99 RtcEventLog* event_log);
101 virtual ~RTPSender(); 100 virtual ~RTPSender();
102 101
103 void ProcessBitrate(); 102 void ProcessBitrate();
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 // that the target bitrate is still valid. 494 // that the target bitrate is still valid.
496 rtc::scoped_ptr<CriticalSectionWrapper> target_bitrate_critsect_; 495 rtc::scoped_ptr<CriticalSectionWrapper> target_bitrate_critsect_;
497 uint32_t target_bitrate_ GUARDED_BY(target_bitrate_critsect_); 496 uint32_t target_bitrate_ GUARDED_BY(target_bitrate_critsect_);
498 497
499 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); 498 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender);
500 }; 499 };
501 500
502 } // namespace webrtc 501 } // namespace webrtc
503 502
504 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ 503 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698