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

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

Issue 2774623006: Let PacketRouter separate send and receive modules. (Closed)
Patch Set: Delete #if:ed out code. Created 3 years, 8 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id); 273 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id);
274 void EnableSendTransportSequenceNumber(int id); 274 void EnableSendTransportSequenceNumber(int id);
275 void EnableReceiveTransportSequenceNumber(int id); 275 void EnableReceiveTransportSequenceNumber(int id);
276 276
277 void RegisterSenderCongestionControlObjects( 277 void RegisterSenderCongestionControlObjects(
278 RtpPacketSender* rtp_packet_sender, 278 RtpPacketSender* rtp_packet_sender,
279 TransportFeedbackObserver* transport_feedback_observer, 279 TransportFeedbackObserver* transport_feedback_observer,
280 PacketRouter* packet_router, 280 PacketRouter* packet_router,
281 RtcpBandwidthObserver* bandwidth_observer); 281 RtcpBandwidthObserver* bandwidth_observer);
282 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router); 282 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router);
283 void ResetCongestionControlObjects(); 283 void ResetSenderCongestionControlObjects();
284 284 void ResetReceiverCongestionControlObjects();
285 void SetRTCPStatus(bool enable); 285 void SetRTCPStatus(bool enable);
286 int GetRTCPStatus(bool& enabled); 286 int GetRTCPStatus(bool& enabled);
287 int SetRTCP_CNAME(const char cName[256]); 287 int SetRTCP_CNAME(const char cName[256]);
288 int GetRemoteRTCP_CNAME(char cName[256]); 288 int GetRemoteRTCP_CNAME(char cName[256]);
289 int SendApplicationDefinedRTCPPacket(unsigned char subType, 289 int SendApplicationDefinedRTCPPacket(unsigned char subType,
290 unsigned int name, 290 unsigned int name,
291 const char* data, 291 const char* data,
292 unsigned short dataLengthInBytes); 292 unsigned short dataLengthInBytes);
293 int GetRemoteRTCPReportBlocks(std::vector<ReportBlock>* report_blocks); 293 int GetRemoteRTCPReportBlocks(std::vector<ReportBlock>* report_blocks);
294 int GetRTPStatistics(CallStatistics& stats); 294 int GetRTPStatistics(CallStatistics& stats);
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 516
517 rtc::ThreadChecker construction_thread_; 517 rtc::ThreadChecker construction_thread_;
518 518
519 const bool use_twcc_plr_for_ana_; 519 const bool use_twcc_plr_for_ana_;
520 }; 520 };
521 521
522 } // namespace voe 522 } // namespace voe
523 } // namespace webrtc 523 } // namespace webrtc
524 524
525 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 525 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698