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

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

Issue 2685673003: Define RtpTransportControllerSendInterface. (Closed)
Patch Set: 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 RtpTransportControllerSenderInterface;
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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 int SetLocalSSRC(unsigned int ssrc); 298 int SetLocalSSRC(unsigned int ssrc);
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 RtpTransportControllerSenderInterface* transport);
309 TransportFeedbackObserver* transport_feedback_observer, 310 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router);
310 PacketRouter* packet_router); 311 void ResetCongestionControlObjects();
311 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router);
312 void ResetCongestionControlObjects();
313 312
314 void SetRTCPStatus(bool enable); 313 void SetRTCPStatus(bool enable);
315 int GetRTCPStatus(bool& enabled); 314 int GetRTCPStatus(bool& enabled);
316 int SetRTCP_CNAME(const char cName[256]); 315 int SetRTCP_CNAME(const char cName[256]);
317 int GetRemoteRTCP_CNAME(char cName[256]); 316 int GetRemoteRTCP_CNAME(char cName[256]);
318 int GetRemoteRTCPData(unsigned int& NTPHigh, 317 int GetRemoteRTCPData(unsigned int& NTPHigh,
319 unsigned int& NTPLow, 318 unsigned int& NTPLow,
320 unsigned int& timestamp, 319 unsigned int& timestamp,
321 unsigned int& playoutTimestamp, 320 unsigned int& playoutTimestamp,
322 unsigned int* jitter, 321 unsigned int* jitter,
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; 552 std::unique_ptr<RateLimiter> retransmission_rate_limiter_;
554 553
555 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. 554 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed.
556 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 555 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
557 }; 556 };
558 557
559 } // namespace voe 558 } // namespace voe
560 } // namespace webrtc 559 } // namespace webrtc
561 560
562 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 561 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698