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

Side by Side Diff: webrtc/media/engine/webrtcvoiceengine.h

Issue 1757683002: Make the audio channel communicate network state changes to the call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updated with code review feedback Created 4 years, 9 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) 2004 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2004 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 int type_event_delay) override; 176 int type_event_delay) override;
177 bool SetOutputVolume(uint32_t ssrc, double volume) override; 177 bool SetOutputVolume(uint32_t ssrc, double volume) override;
178 178
179 bool CanInsertDtmf() override; 179 bool CanInsertDtmf() override;
180 bool InsertDtmf(uint32_t ssrc, int event, int duration) override; 180 bool InsertDtmf(uint32_t ssrc, int event, int duration) override;
181 181
182 void OnPacketReceived(rtc::Buffer* packet, 182 void OnPacketReceived(rtc::Buffer* packet,
183 const rtc::PacketTime& packet_time) override; 183 const rtc::PacketTime& packet_time) override;
184 void OnRtcpReceived(rtc::Buffer* packet, 184 void OnRtcpReceived(rtc::Buffer* packet,
185 const rtc::PacketTime& packet_time) override; 185 const rtc::PacketTime& packet_time) override;
186 void OnReadyToSend(bool ready) override {} 186 void OnReadyToSend(bool ready) override;
187 bool GetStats(VoiceMediaInfo* info) override; 187 bool GetStats(VoiceMediaInfo* info) override;
188 188
189 void SetRawAudioSink( 189 void SetRawAudioSink(
190 uint32_t ssrc, 190 uint32_t ssrc,
191 std::unique_ptr<webrtc::AudioSinkInterface> sink) override; 191 std::unique_ptr<webrtc::AudioSinkInterface> sink) override;
192 192
193 // implements Transport interface 193 // implements Transport interface
194 bool SendRtp(const uint8_t* data, 194 bool SendRtp(const uint8_t* data,
195 size_t len, 195 size_t len,
196 const webrtc::PacketOptions& options) override { 196 const webrtc::PacketOptions& options) override {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 270
271 class WebRtcAudioReceiveStream; 271 class WebRtcAudioReceiveStream;
272 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; 272 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_;
273 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; 273 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
274 274
275 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); 275 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel);
276 }; 276 };
277 } // namespace cricket 277 } // namespace cricket
278 278
279 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ 279 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698