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

Side by Side Diff: webrtc/voice_engine/channel.h

Issue 2685673003: Define RtpTransportControllerSendInterface. (Closed)
Patch Set: Fix rebasing error. Created 3 years, 10 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class PacketRouter; 47 class PacketRouter;
48 class ProcessThread; 48 class ProcessThread;
49 class RateLimiter; 49 class RateLimiter;
50 class ReceiveStatistics; 50 class ReceiveStatistics;
51 class RemoteNtpTimeEstimator; 51 class RemoteNtpTimeEstimator;
52 class RtcEventLog; 52 class RtcEventLog;
53 class RTPPayloadRegistry; 53 class RTPPayloadRegistry;
54 class RtpReceiver; 54 class RtpReceiver;
55 class RTPReceiverAudio; 55 class RTPReceiverAudio;
56 class RtpRtcp; 56 class RtpRtcp;
57 class RtpTransportControllerSendInterface;
57 class TelephoneEventHandler; 58 class TelephoneEventHandler;
58 class VoEMediaProcess; 59 class VoEMediaProcess;
59 class VoERTPObserver; 60 class VoERTPObserver;
60 class VoiceEngineObserver; 61 class VoiceEngineObserver;
61 62
62 struct CallStatistics; 63 struct CallStatistics;
63 struct ReportBlock; 64 struct ReportBlock;
64 struct SenderInfo; 65 struct SenderInfo;
65 66
66 namespace voe { 67 namespace voe {
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 int GetLocalSSRC(unsigned int& ssrc); 299 int GetLocalSSRC(unsigned int& ssrc);
299 int GetRemoteSSRC(unsigned int& ssrc); 300 int GetRemoteSSRC(unsigned int& ssrc);
300 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id); 301 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id);
301 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id); 302 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id);
302 int SetSendAbsoluteSenderTimeStatus(bool enable, unsigned char id); 303 int SetSendAbsoluteSenderTimeStatus(bool enable, unsigned char id);
303 int SetReceiveAbsoluteSenderTimeStatus(bool enable, unsigned char id); 304 int SetReceiveAbsoluteSenderTimeStatus(bool enable, unsigned char id);
304 void EnableSendTransportSequenceNumber(int id); 305 void EnableSendTransportSequenceNumber(int id);
305 void EnableReceiveTransportSequenceNumber(int id); 306 void EnableReceiveTransportSequenceNumber(int id);
306 307
307 void RegisterSenderCongestionControlObjects( 308 void RegisterSenderCongestionControlObjects(
308 RtpPacketSender* rtp_packet_sender, 309 RtpTransportControllerSendInterface* transport,
309 TransportFeedbackObserver* transport_feedback_observer,
310 PacketRouter* packet_router,
311 RtcpBandwidthObserver* bandwidth_observer); 310 RtcpBandwidthObserver* bandwidth_observer);
312 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router); 311 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router);
313 void ResetCongestionControlObjects(); 312 void ResetCongestionControlObjects();
314 313
315 void SetRTCPStatus(bool enable); 314 void SetRTCPStatus(bool enable);
316 int GetRTCPStatus(bool& enabled); 315 int GetRTCPStatus(bool& enabled);
317 int SetRTCP_CNAME(const char cName[256]); 316 int SetRTCP_CNAME(const char cName[256]);
318 int GetRemoteRTCP_CNAME(char cName[256]); 317 int GetRemoteRTCP_CNAME(char cName[256]);
319 int GetRemoteRTCPData(unsigned int& NTPHigh, 318 int GetRemoteRTCPData(unsigned int& NTPHigh,
320 unsigned int& NTPLow, 319 unsigned int& NTPLow,
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; 553 std::unique_ptr<RateLimiter> retransmission_rate_limiter_;
555 554
556 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. 555 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed.
557 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 556 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
558 }; 557 };
559 558
560 } // namespace voe 559 } // namespace voe
561 } // namespace webrtc 560 } // namespace webrtc
562 561
563 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 562 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698