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

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

Issue 2685673003: Define RtpTransportControllerSendInterface. (Closed)
Patch Set: Fix dependency problem. Add accessors transport_feedback_observer and packet_sender. Created 3 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class ProcessThread; 47 class ProcessThread;
48 class RateLimiter; 48 class RateLimiter;
49 class ReceiveStatistics; 49 class ReceiveStatistics;
50 class RemoteNtpTimeEstimator; 50 class RemoteNtpTimeEstimator;
51 class RtcEventLog; 51 class RtcEventLog;
52 class RTPPayloadRegistry; 52 class RTPPayloadRegistry;
53 class RtpReceiver; 53 class RtpReceiver;
54 class RTPReceiverAudio; 54 class RTPReceiverAudio;
55 class RtpPacketReceived; 55 class RtpPacketReceived;
56 class RtpRtcp; 56 class RtpRtcp;
57 class RtpTransportControllerSendInterface;
57 class TelephoneEventHandler; 58 class TelephoneEventHandler;
58 class VoERTPObserver; 59 class VoERTPObserver;
59 class VoiceEngineObserver; 60 class VoiceEngineObserver;
60 61
61 struct CallStatistics; 62 struct CallStatistics;
62 struct ReportBlock; 63 struct ReportBlock;
63 struct SenderInfo; 64 struct SenderInfo;
64 65
65 namespace voe { 66 namespace voe {
66 67
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 // VoERTP_RTCP 267 // VoERTP_RTCP
267 int SetLocalSSRC(unsigned int ssrc); 268 int SetLocalSSRC(unsigned int ssrc);
268 int GetLocalSSRC(unsigned int& ssrc); 269 int GetLocalSSRC(unsigned int& ssrc);
269 int GetRemoteSSRC(unsigned int& ssrc); 270 int GetRemoteSSRC(unsigned int& ssrc);
270 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id); 271 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id);
271 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id); 272 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id);
272 void EnableSendTransportSequenceNumber(int id); 273 void EnableSendTransportSequenceNumber(int id);
273 void EnableReceiveTransportSequenceNumber(int id); 274 void EnableReceiveTransportSequenceNumber(int id);
274 275
275 void RegisterSenderCongestionControlObjects( 276 void RegisterSenderCongestionControlObjects(
276 RtpPacketSender* rtp_packet_sender, 277 RtpTransportControllerSendInterface* transport,
277 TransportFeedbackObserver* transport_feedback_observer,
278 PacketRouter* packet_router,
279 RtcpBandwidthObserver* bandwidth_observer); 278 RtcpBandwidthObserver* bandwidth_observer);
280 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router); 279 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router);
281 void ResetCongestionControlObjects(); 280 void ResetCongestionControlObjects();
282 281
283 void SetRTCPStatus(bool enable); 282 void SetRTCPStatus(bool enable);
284 int GetRTCPStatus(bool& enabled); 283 int GetRTCPStatus(bool& enabled);
285 int SetRTCP_CNAME(const char cName[256]); 284 int SetRTCP_CNAME(const char cName[256]);
286 int GetRemoteRTCP_CNAME(char cName[256]); 285 int GetRemoteRTCP_CNAME(char cName[256]);
287 int SendApplicationDefinedRTCPPacket(unsigned char subType, 286 int SendApplicationDefinedRTCPPacket(unsigned char subType,
288 unsigned int name, 287 unsigned int name,
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; 502 std::unique_ptr<RateLimiter> retransmission_rate_limiter_;
504 503
505 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. 504 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed.
506 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 505 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
507 }; 506 };
508 507
509 } // namespace voe 508 } // namespace voe
510 } // namespace webrtc 509 } // namespace webrtc
511 510
512 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 511 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698