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

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

Issue 2437503004: Set actual transport overhead in rtp_rtcp (Closed)
Patch Set: Add unittest for changing transport overhead. 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
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 OnTransportOverheadChange(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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; 269 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_;
269 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; 270 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
270 271
271 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_; 272 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_;
272 273
273 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); 274 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel);
274 }; 275 };
275 } // namespace cricket 276 } // namespace cricket
276 277
277 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ 278 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698