OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2004 Google Inc. | 3 * Copyright 2004 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 int reporting_threshold, | 233 int reporting_threshold, |
234 int penalty_decay, | 234 int penalty_decay, |
235 int type_event_delay) override; | 235 int type_event_delay) override; |
236 bool SetOutputScaling(uint32 ssrc, double left, double right) override; | 236 bool SetOutputScaling(uint32 ssrc, double left, double right) override; |
237 | 237 |
238 bool CanInsertDtmf() override; | 238 bool CanInsertDtmf() override; |
239 bool InsertDtmf(uint32 ssrc, int event, int duration, int flags) override; | 239 bool InsertDtmf(uint32 ssrc, int event, int duration, int flags) override; |
240 | 240 |
241 void OnPacketReceived(rtc::Buffer* packet, | 241 void OnPacketReceived(rtc::Buffer* packet, |
242 const rtc::PacketTime& packet_time) override; | 242 const rtc::PacketTime& packet_time) override; |
| 243 void OnPacketSent(const rtc::SentPacket& packet_sent) override; |
243 void OnRtcpReceived(rtc::Buffer* packet, | 244 void OnRtcpReceived(rtc::Buffer* packet, |
244 const rtc::PacketTime& packet_time) override; | 245 const rtc::PacketTime& packet_time) override; |
245 void OnReadyToSend(bool ready) override {} | 246 void OnReadyToSend(bool ready) override {} |
246 bool GetStats(VoiceMediaInfo* info) override; | 247 bool GetStats(VoiceMediaInfo* info) override; |
247 // Gets last reported error from WebRtc voice engine. This should be only | 248 // Gets last reported error from WebRtc voice engine. This should be only |
248 // called in response a failure. | 249 // called in response a failure. |
249 void GetLastMediaError(uint32* ssrc, | 250 void GetLastMediaError(uint32* ssrc, |
250 VoiceMediaChannel::Error* error) override; | 251 VoiceMediaChannel::Error* error) override; |
251 | 252 |
252 // implements Transport interface | 253 // implements Transport interface |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; | 373 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; |
373 | 374 |
374 // Do not lock this on the VoE media processor thread; potential for deadlock | 375 // Do not lock this on the VoE media processor thread; potential for deadlock |
375 // exists. | 376 // exists. |
376 mutable rtc::CriticalSection receive_channels_cs_; | 377 mutable rtc::CriticalSection receive_channels_cs_; |
377 }; | 378 }; |
378 | 379 |
379 } // namespace cricket | 380 } // namespace cricket |
380 | 381 |
381 #endif // TALK_MEDIA_WEBRTCVOICEENGINE_H_ | 382 #endif // TALK_MEDIA_WEBRTCVOICEENGINE_H_ |
OLD | NEW |