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

Side by Side Diff: webrtc/voice_engine/channel_proxy.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/voice_engine/channel.cc ('k') | webrtc/voice_engine/channel_proxy.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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 virtual void SetRTCPStatus(bool enable); 45 virtual void SetRTCPStatus(bool enable);
46 virtual void SetLocalSSRC(uint32_t ssrc); 46 virtual void SetLocalSSRC(uint32_t ssrc);
47 virtual void SetRTCP_CNAME(const std::string& c_name); 47 virtual void SetRTCP_CNAME(const std::string& c_name);
48 virtual void SetSendAbsoluteSenderTimeStatus(bool enable, int id); 48 virtual void SetSendAbsoluteSenderTimeStatus(bool enable, int id);
49 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id); 49 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id);
50 virtual void SetReceiveAbsoluteSenderTimeStatus(bool enable, int id); 50 virtual void SetReceiveAbsoluteSenderTimeStatus(bool enable, int id);
51 virtual void SetReceiveAudioLevelIndicationStatus(bool enable, int id); 51 virtual void SetReceiveAudioLevelIndicationStatus(bool enable, int id);
52 virtual void EnableSendTransportSequenceNumber(int id); 52 virtual void EnableSendTransportSequenceNumber(int id);
53 virtual void EnableReceiveTransportSequenceNumber(int id); 53 virtual void EnableReceiveTransportSequenceNumber(int id);
54 virtual void SetCongestionControlObjects( 54 virtual void RegisterSenderCongestionControlObjects(
55 RtpPacketSender* rtp_packet_sender, 55 RtpPacketSender* rtp_packet_sender,
56 TransportFeedbackObserver* transport_feedback_observer, 56 TransportFeedbackObserver* transport_feedback_observer,
57 PacketRouter* packet_router); 57 PacketRouter* packet_router);
58 virtual void RegisterReceiverCongestionControlObjects(
59 PacketRouter* packet_router);
60 virtual void ResetCongestionControlObjects();
58 61
59 virtual CallStatistics GetRTCPStatistics() const; 62 virtual CallStatistics GetRTCPStatistics() const;
60 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const; 63 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const;
61 virtual NetworkStatistics GetNetworkStatistics() const; 64 virtual NetworkStatistics GetNetworkStatistics() const;
62 virtual AudioDecodingCallStats GetDecodingCallStatistics() const; 65 virtual AudioDecodingCallStats GetDecodingCallStatistics() const;
63 virtual int32_t GetSpeechOutputLevelFullRange() const; 66 virtual int32_t GetSpeechOutputLevelFullRange() const;
64 virtual uint32_t GetDelayEstimate() const; 67 virtual uint32_t GetDelayEstimate() const;
65 68
66 virtual bool SetSendTelephoneEventPayloadType(int payload_type); 69 virtual bool SetSendTelephoneEventPayloadType(int payload_type);
67 virtual bool SendTelephoneEventOutband(uint8_t event, uint32_t duration_ms); 70 virtual bool SendTelephoneEventOutband(uint8_t event, uint32_t duration_ms);
68 71
69 virtual void SetSink(rtc::scoped_ptr<AudioSinkInterface> sink); 72 virtual void SetSink(rtc::scoped_ptr<AudioSinkInterface> sink);
70 73
71 private: 74 private:
72 Channel* channel() const; 75 Channel* channel() const;
73 76
74 rtc::ThreadChecker thread_checker_; 77 rtc::ThreadChecker thread_checker_;
75 ChannelOwner channel_owner_; 78 ChannelOwner channel_owner_;
76 }; 79 };
77 } // namespace voe 80 } // namespace voe
78 } // namespace webrtc 81 } // namespace webrtc
79 82
80 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ 83 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/voice_engine/channel.cc ('k') | webrtc/voice_engine/channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698