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

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

Issue 1844773002: Update the call when the network route changes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Merge with head Created 4 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/media/engine/webrtcvideoengine2.cc ('k') | webrtc/media/engine/webrtcvoiceengine.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) 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 bool SetOutputVolume(uint32_t ssrc, double volume) override; 174 bool SetOutputVolume(uint32_t ssrc, double volume) override;
175 175
176 bool CanInsertDtmf() override; 176 bool CanInsertDtmf() override;
177 bool InsertDtmf(uint32_t ssrc, int event, int duration) override; 177 bool InsertDtmf(uint32_t ssrc, int event, int duration) override;
178 178
179 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet, 179 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet,
180 const rtc::PacketTime& packet_time) override; 180 const rtc::PacketTime& packet_time) override;
181 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet, 181 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet,
182 const rtc::PacketTime& packet_time) override; 182 const rtc::PacketTime& packet_time) override;
183 void OnNetworkRouteChanged(const std::string& transport_name, 183 void OnNetworkRouteChanged(const std::string& transport_name,
184 const NetworkRoute& network_route) override; 184 const rtc::NetworkRoute& network_route) override;
185 void OnReadyToSend(bool ready) override; 185 void OnReadyToSend(bool ready) override;
186 bool GetStats(VoiceMediaInfo* info) override; 186 bool GetStats(VoiceMediaInfo* info) override;
187 187
188 void SetRawAudioSink( 188 void SetRawAudioSink(
189 uint32_t ssrc, 189 uint32_t ssrc,
190 std::unique_ptr<webrtc::AudioSinkInterface> sink) override; 190 std::unique_ptr<webrtc::AudioSinkInterface> sink) override;
191 191
192 // implements Transport interface 192 // implements Transport interface
193 bool SendRtp(const uint8_t* data, 193 bool SendRtp(const uint8_t* data,
194 size_t len, 194 size_t len,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 int cng_payload_type = -1; 284 int cng_payload_type = -1;
285 int cng_plfreq = -1; 285 int cng_plfreq = -1;
286 webrtc::CodecInst codec_inst; 286 webrtc::CodecInst codec_inst;
287 } send_codec_spec_; 287 } send_codec_spec_;
288 288
289 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); 289 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel);
290 }; 290 };
291 } // namespace cricket 291 } // namespace cricket
292 292
293 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ 293 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « webrtc/media/engine/webrtcvideoengine2.cc ('k') | webrtc/media/engine/webrtcvoiceengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698