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

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: Comments addressed. Created 4 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
« no previous file with comments | « webrtc/video/vie_channel.cc ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 int SetLocalSSRC(unsigned int ssrc); 332 int SetLocalSSRC(unsigned int ssrc);
333 int GetLocalSSRC(unsigned int& ssrc); 333 int GetLocalSSRC(unsigned int& ssrc);
334 int GetRemoteSSRC(unsigned int& ssrc); 334 int GetRemoteSSRC(unsigned int& ssrc);
335 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id); 335 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id);
336 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id); 336 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id);
337 int SetSendAbsoluteSenderTimeStatus(bool enable, unsigned char id); 337 int SetSendAbsoluteSenderTimeStatus(bool enable, unsigned char id);
338 int SetReceiveAbsoluteSenderTimeStatus(bool enable, unsigned char id); 338 int SetReceiveAbsoluteSenderTimeStatus(bool enable, unsigned char id);
339 void EnableSendTransportSequenceNumber(int id); 339 void EnableSendTransportSequenceNumber(int id);
340 void EnableReceiveTransportSequenceNumber(int id); 340 void EnableReceiveTransportSequenceNumber(int id);
341 341
342 void SetCongestionControlObjects( 342 void RegisterSenderCongestionControlObjects(
343 RtpPacketSender* rtp_packet_sender, 343 RtpPacketSender* rtp_packet_sender,
344 TransportFeedbackObserver* transport_feedback_observer, 344 TransportFeedbackObserver* transport_feedback_observer,
345 PacketRouter* packet_router); 345 PacketRouter* packet_router);
346 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router);
347 void ResetCongestionControlObjects();
346 348
347 void SetRTCPStatus(bool enable); 349 void SetRTCPStatus(bool enable);
348 int GetRTCPStatus(bool& enabled); 350 int GetRTCPStatus(bool& enabled);
349 int SetRTCP_CNAME(const char cName[256]); 351 int SetRTCP_CNAME(const char cName[256]);
350 int GetRemoteRTCP_CNAME(char cName[256]); 352 int GetRemoteRTCP_CNAME(char cName[256]);
351 int GetRemoteRTCPData(unsigned int& NTPHigh, 353 int GetRemoteRTCPData(unsigned int& NTPHigh,
352 unsigned int& NTPLow, 354 unsigned int& NTPLow,
353 unsigned int& timestamp, 355 unsigned int& timestamp,
354 unsigned int& playoutTimestamp, 356 unsigned int& playoutTimestamp,
355 unsigned int* jitter, 357 unsigned int* jitter,
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 PacketRouter* packet_router_ = nullptr; 594 PacketRouter* packet_router_ = nullptr;
593 rtc::scoped_ptr<TransportFeedbackProxy> feedback_observer_proxy_; 595 rtc::scoped_ptr<TransportFeedbackProxy> feedback_observer_proxy_;
594 rtc::scoped_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; 596 rtc::scoped_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_;
595 rtc::scoped_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; 597 rtc::scoped_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_;
596 }; 598 };
597 599
598 } // namespace voe 600 } // namespace voe
599 } // namespace webrtc 601 } // namespace webrtc
600 602
601 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 603 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/video/vie_channel.cc ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698