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

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

Issue 2774623006: Let PacketRouter separate send and receive modules. (Closed)
Patch Set: Eliminate std::remove. 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
« no previous file with comments | « webrtc/video/video_send_stream.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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 int GetRemoteSSRC(unsigned int& ssrc); 275 int GetRemoteSSRC(unsigned int& ssrc);
276 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id); 276 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id);
277 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id); 277 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id);
278 void EnableSendTransportSequenceNumber(int id); 278 void EnableSendTransportSequenceNumber(int id);
279 void EnableReceiveTransportSequenceNumber(int id); 279 void EnableReceiveTransportSequenceNumber(int id);
280 280
281 void RegisterSenderCongestionControlObjects( 281 void RegisterSenderCongestionControlObjects(
282 RtpTransportControllerSendInterface* transport, 282 RtpTransportControllerSendInterface* transport,
283 RtcpBandwidthObserver* bandwidth_observer); 283 RtcpBandwidthObserver* bandwidth_observer);
284 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router); 284 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router);
285 void ResetCongestionControlObjects(); 285 void ResetSenderCongestionControlObjects();
286 286 void ResetReceiverCongestionControlObjects();
287 void SetRTCPStatus(bool enable); 287 void SetRTCPStatus(bool enable);
288 int GetRTCPStatus(bool& enabled); 288 int GetRTCPStatus(bool& enabled);
289 int SetRTCP_CNAME(const char cName[256]); 289 int SetRTCP_CNAME(const char cName[256]);
290 int GetRemoteRTCP_CNAME(char cName[256]); 290 int GetRemoteRTCP_CNAME(char cName[256]);
291 int SendApplicationDefinedRTCPPacket(unsigned char subType, 291 int SendApplicationDefinedRTCPPacket(unsigned char subType,
292 unsigned int name, 292 unsigned int name,
293 const char* data, 293 const char* data,
294 unsigned short dataLengthInBytes); 294 unsigned short dataLengthInBytes);
295 int GetRemoteRTCPReportBlocks(std::vector<ReportBlock>* report_blocks); 295 int GetRemoteRTCPReportBlocks(std::vector<ReportBlock>* report_blocks);
296 int GetRTPStatistics(CallStatistics& stats); 296 int GetRTPStatistics(CallStatistics& stats);
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 518
519 rtc::ThreadChecker construction_thread_; 519 rtc::ThreadChecker construction_thread_;
520 520
521 const bool use_twcc_plr_for_ana_; 521 const bool use_twcc_plr_for_ana_;
522 }; 522 };
523 523
524 } // namespace voe 524 } // namespace voe
525 } // namespace webrtc 525 } // namespace webrtc
526 526
527 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 527 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/video/video_send_stream.cc ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698