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

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

Issue 2437503004: Set actual transport overhead in rtp_rtcp (Closed)
Patch Set: Rename SignalTransportOverheadChanged to UpdateTransportOverhead. Created 4 years, 1 month 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 bool CanInsertDtmf() override; 185 bool CanInsertDtmf() override;
186 bool InsertDtmf(uint32_t ssrc, int event, int duration) override; 186 bool InsertDtmf(uint32_t ssrc, int event, int duration) override;
187 187
188 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet, 188 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet,
189 const rtc::PacketTime& packet_time) override; 189 const rtc::PacketTime& packet_time) override;
190 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet, 190 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet,
191 const rtc::PacketTime& packet_time) override; 191 const rtc::PacketTime& packet_time) override;
192 void OnNetworkRouteChanged(const std::string& transport_name, 192 void OnNetworkRouteChanged(const std::string& transport_name,
193 const rtc::NetworkRoute& network_route) override; 193 const rtc::NetworkRoute& network_route) override;
194 void OnReadyToSend(bool ready) override; 194 void OnReadyToSend(bool ready) override;
195 void OnTransportOverheadChanged(int transport_overhead_per_packet) override;
195 bool GetStats(VoiceMediaInfo* info) override; 196 bool GetStats(VoiceMediaInfo* info) override;
196 197
197 void SetRawAudioSink( 198 void SetRawAudioSink(
198 uint32_t ssrc, 199 uint32_t ssrc,
199 std::unique_ptr<webrtc::AudioSinkInterface> sink) override; 200 std::unique_ptr<webrtc::AudioSinkInterface> sink) override;
200 201
201 // implements Transport interface 202 // implements Transport interface
202 bool SendRtp(const uint8_t* data, 203 bool SendRtp(const uint8_t* data,
203 size_t len, 204 size_t len,
204 const webrtc::PacketOptions& options) override { 205 const webrtc::PacketOptions& options) override {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; 271 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_;
271 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; 272 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
272 273
273 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_; 274 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_;
274 275
275 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); 276 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel);
276 }; 277 };
277 } // namespace cricket 278 } // namespace cricket
278 279
279 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ 280 #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