OLD | NEW |
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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 bool CanInsertDtmf() override; | 182 bool CanInsertDtmf() override; |
183 bool InsertDtmf(uint32_t ssrc, int event, int duration) override; | 183 bool InsertDtmf(uint32_t ssrc, int event, int duration) override; |
184 | 184 |
185 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet, | 185 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet, |
186 const rtc::PacketTime& packet_time) override; | 186 const rtc::PacketTime& packet_time) override; |
187 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet, | 187 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet, |
188 const rtc::PacketTime& packet_time) override; | 188 const rtc::PacketTime& packet_time) override; |
189 void OnNetworkRouteChanged(const std::string& transport_name, | 189 void OnNetworkRouteChanged(const std::string& transport_name, |
190 const rtc::NetworkRoute& network_route) override; | 190 const rtc::NetworkRoute& network_route) override; |
191 void OnReadyToSend(bool ready) override; | 191 void OnReadyToSend(bool ready) override; |
| 192 void OnTransportOverheadChange(int transport_overhead_per_packet) override; |
192 bool GetStats(VoiceMediaInfo* info) override; | 193 bool GetStats(VoiceMediaInfo* info) override; |
193 | 194 |
194 void SetRawAudioSink( | 195 void SetRawAudioSink( |
195 uint32_t ssrc, | 196 uint32_t ssrc, |
196 std::unique_ptr<webrtc::AudioSinkInterface> sink) override; | 197 std::unique_ptr<webrtc::AudioSinkInterface> sink) override; |
197 | 198 |
198 // implements Transport interface | 199 // implements Transport interface |
199 bool SendRtp(const uint8_t* data, | 200 bool SendRtp(const uint8_t* data, |
200 size_t len, | 201 size_t len, |
201 const webrtc::PacketOptions& options) override { | 202 const webrtc::PacketOptions& options) override { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; | 266 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; |
266 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; | 267 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; |
267 | 268 |
268 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_; | 269 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_; |
269 | 270 |
270 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); | 271 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); |
271 }; | 272 }; |
272 } // namespace cricket | 273 } // namespace cricket |
273 | 274 |
274 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ | 275 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ |
OLD | NEW |