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

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

Issue 1487393002: Refactor WVoE DTMF handling #1 (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years 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 | « talk/media/webrtc/fakewebrtcvoiceengine.h ('k') | talk/media/webrtc/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 * 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 int GetOutputLevel() override; 192 int GetOutputLevel() override;
193 int GetTimeSinceLastTyping() override; 193 int GetTimeSinceLastTyping() override;
194 void SetTypingDetectionParameters(int time_window, 194 void SetTypingDetectionParameters(int time_window,
195 int cost_per_typing, 195 int cost_per_typing,
196 int reporting_threshold, 196 int reporting_threshold,
197 int penalty_decay, 197 int penalty_decay,
198 int type_event_delay) override; 198 int type_event_delay) override;
199 bool SetOutputVolume(uint32_t ssrc, double volume) override; 199 bool SetOutputVolume(uint32_t ssrc, double volume) override;
200 200
201 bool CanInsertDtmf() override; 201 bool CanInsertDtmf() override;
202 bool InsertDtmf(uint32_t ssrc, int event, int duration, int flags) override; 202 bool InsertDtmf(uint32_t ssrc, int event, int duration) override;
203 203
204 void OnPacketReceived(rtc::Buffer* packet, 204 void OnPacketReceived(rtc::Buffer* packet,
205 const rtc::PacketTime& packet_time) override; 205 const rtc::PacketTime& packet_time) override;
206 void OnRtcpReceived(rtc::Buffer* packet, 206 void OnRtcpReceived(rtc::Buffer* packet,
207 const rtc::PacketTime& packet_time) override; 207 const rtc::PacketTime& packet_time) override;
208 void OnReadyToSend(bool ready) override {} 208 void OnReadyToSend(bool ready) override {}
209 bool GetStats(VoiceMediaInfo* info) override; 209 bool GetStats(VoiceMediaInfo* info) override;
210 210
211 // implements Transport interface 211 // implements Transport interface
212 bool SendRtp(const uint8_t* data, 212 bool SendRtp(const uint8_t* data,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 288
289 class WebRtcAudioReceiveStream; 289 class WebRtcAudioReceiveStream;
290 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; 290 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_;
291 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; 291 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
292 292
293 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); 293 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel);
294 }; 294 };
295 } // namespace cricket 295 } // namespace cricket
296 296
297 #endif // TALK_MEDIA_WEBRTCVOICEENGINE_H_ 297 #endif // TALK_MEDIA_WEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « talk/media/webrtc/fakewebrtcvoiceengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698