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

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

Issue 1628683002: Use separate rtp module lists for send and receive in PacketRouter. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add more dchecks. Created 4 years, 11 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 int SetLocalSSRC(unsigned int ssrc); 322 int SetLocalSSRC(unsigned int ssrc);
323 int GetLocalSSRC(unsigned int& ssrc); 323 int GetLocalSSRC(unsigned int& ssrc);
324 int GetRemoteSSRC(unsigned int& ssrc); 324 int GetRemoteSSRC(unsigned int& ssrc);
325 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id); 325 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id);
326 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id); 326 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id);
327 int SetSendAbsoluteSenderTimeStatus(bool enable, unsigned char id); 327 int SetSendAbsoluteSenderTimeStatus(bool enable, unsigned char id);
328 int SetReceiveAbsoluteSenderTimeStatus(bool enable, unsigned char id); 328 int SetReceiveAbsoluteSenderTimeStatus(bool enable, unsigned char id);
329 void EnableSendTransportSequenceNumber(int id); 329 void EnableSendTransportSequenceNumber(int id);
330 void EnableReceiveTransportSequenceNumber(int id); 330 void EnableReceiveTransportSequenceNumber(int id);
331 331
332 void SetCongestionControlObjects( 332 void RegisterSenderCongestionControlObjects(
333 RtpPacketSender* rtp_packet_sender, 333 RtpPacketSender* rtp_packet_sender,
334 TransportFeedbackObserver* transport_feedback_observer, 334 TransportFeedbackObserver* transport_feedback_observer,
335 PacketRouter* packet_router); 335 PacketRouter* packet_router);
336 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router);
337 void ResetCongestionControlObjects();
336 338
337 void SetRTCPStatus(bool enable); 339 void SetRTCPStatus(bool enable);
338 int GetRTCPStatus(bool& enabled); 340 int GetRTCPStatus(bool& enabled);
339 int SetRTCP_CNAME(const char cName[256]); 341 int SetRTCP_CNAME(const char cName[256]);
340 int GetRemoteRTCP_CNAME(char cName[256]); 342 int GetRemoteRTCP_CNAME(char cName[256]);
341 int GetRemoteRTCPData(unsigned int& NTPHigh, unsigned int& NTPLow, 343 int GetRemoteRTCPData(unsigned int& NTPHigh, unsigned int& NTPLow,
342 unsigned int& timestamp, 344 unsigned int& timestamp,
343 unsigned int& playoutTimestamp, unsigned int* jitter, 345 unsigned int& playoutTimestamp, unsigned int* jitter,
344 unsigned short* fractionLost); 346 unsigned short* fractionLost);
345 int SendApplicationDefinedRTCPPacket(unsigned char subType, 347 int SendApplicationDefinedRTCPPacket(unsigned char subType,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 PacketRouter* packet_router_ = nullptr; 605 PacketRouter* packet_router_ = nullptr;
604 rtc::scoped_ptr<TransportFeedbackProxy> feedback_observer_proxy_; 606 rtc::scoped_ptr<TransportFeedbackProxy> feedback_observer_proxy_;
605 rtc::scoped_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; 607 rtc::scoped_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_;
606 rtc::scoped_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; 608 rtc::scoped_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_;
607 }; 609 };
608 610
609 } // namespace voe 611 } // namespace voe
610 } // namespace webrtc 612 } // namespace webrtc
611 613
612 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 614 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698