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

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

Issue 2709723003: Initial implementation of RtpTransportControllerReceive and related interfaces.
Patch Set: Merge remote-tracking branch 'origin/master' into design-RtpTransportReceiveController Created 3 years, 3 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual bool SetEncoder(int payload_type, 60 virtual bool SetEncoder(int payload_type,
61 std::unique_ptr<AudioEncoder> encoder); 61 std::unique_ptr<AudioEncoder> encoder);
62 virtual void ModifyEncoder( 62 virtual void ModifyEncoder(
63 rtc::FunctionView<void(std::unique_ptr<AudioEncoder>*)> modifier); 63 rtc::FunctionView<void(std::unique_ptr<AudioEncoder>*)> modifier);
64 64
65 virtual void SetRTCPStatus(bool enable); 65 virtual void SetRTCPStatus(bool enable);
66 virtual void SetLocalSSRC(uint32_t ssrc); 66 virtual void SetLocalSSRC(uint32_t ssrc);
67 virtual void SetRTCP_CNAME(const std::string& c_name); 67 virtual void SetRTCP_CNAME(const std::string& c_name);
68 virtual void SetNACKStatus(bool enable, int max_packets); 68 virtual void SetNACKStatus(bool enable, int max_packets);
69 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id); 69 virtual void SetSendAudioLevelIndicationStatus(bool enable, int id);
70 virtual void SetReceiveAudioLevelIndicationStatus(bool enable, int id);
71 virtual void EnableSendTransportSequenceNumber(int id); 70 virtual void EnableSendTransportSequenceNumber(int id);
72 virtual void EnableReceiveTransportSequenceNumber(int id);
73 virtual void RegisterSenderCongestionControlObjects( 71 virtual void RegisterSenderCongestionControlObjects(
74 RtpTransportControllerSendInterface* transport, 72 RtpTransportControllerSendInterface* transport,
75 RtcpBandwidthObserver* bandwidth_observer); 73 RtcpBandwidthObserver* bandwidth_observer);
76 virtual void RegisterReceiverCongestionControlObjects( 74 virtual void RegisterReceiverCongestionControlObjects(
77 PacketRouter* packet_router); 75 PacketRouter* packet_router);
78 virtual void ResetSenderCongestionControlObjects(); 76 virtual void ResetSenderCongestionControlObjects();
79 virtual void ResetReceiverCongestionControlObjects(); 77 virtual void ResetReceiverCongestionControlObjects();
80 virtual CallStatistics GetRTCPStatistics() const; 78 virtual CallStatistics GetRTCPStatistics() const;
81 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const; 79 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const;
82 virtual NetworkStatistics GetNetworkStatistics() const; 80 virtual NetworkStatistics GetNetworkStatistics() const;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 rtc::RaceChecker audio_thread_race_checker_; 140 rtc::RaceChecker audio_thread_race_checker_;
143 rtc::RaceChecker video_capture_thread_race_checker_; 141 rtc::RaceChecker video_capture_thread_race_checker_;
144 ChannelOwner channel_owner_; 142 ChannelOwner channel_owner_;
145 143
146 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); 144 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy);
147 }; 145 };
148 } // namespace voe 146 } // namespace voe
149 } // namespace webrtc 147 } // namespace webrtc
150 148
151 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ 149 #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