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

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

Issue 2684933008: Remove unused methods in WebRtcVoiceEngine and VoiceMediaChannel. (Closed)
Patch Set: rebase Created 3 years, 10 months 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 bool SetAudioSend(uint32_t ssrc, 176 bool SetAudioSend(uint32_t ssrc,
177 bool enable, 177 bool enable,
178 const AudioOptions* options, 178 const AudioOptions* options,
179 AudioSource* source) override; 179 AudioSource* source) override;
180 bool AddSendStream(const StreamParams& sp) override; 180 bool AddSendStream(const StreamParams& sp) override;
181 bool RemoveSendStream(uint32_t ssrc) override; 181 bool RemoveSendStream(uint32_t ssrc) override;
182 bool AddRecvStream(const StreamParams& sp) override; 182 bool AddRecvStream(const StreamParams& sp) override;
183 bool RemoveRecvStream(uint32_t ssrc) override; 183 bool RemoveRecvStream(uint32_t ssrc) override;
184 bool GetActiveStreams(AudioInfo::StreamList* actives) override; 184 bool GetActiveStreams(AudioInfo::StreamList* actives) override;
185 int GetOutputLevel() override; 185 int GetOutputLevel() override;
186 int GetTimeSinceLastTyping() override;
187 void SetTypingDetectionParameters(int time_window,
188 int cost_per_typing,
189 int reporting_threshold,
190 int penalty_decay,
191 int type_event_delay) override;
192 bool SetOutputVolume(uint32_t ssrc, double volume) override; 186 bool SetOutputVolume(uint32_t ssrc, double volume) override;
193 187
194 bool CanInsertDtmf() override; 188 bool CanInsertDtmf() override;
195 bool InsertDtmf(uint32_t ssrc, int event, int duration) override; 189 bool InsertDtmf(uint32_t ssrc, int event, int duration) override;
196 190
197 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet, 191 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet,
198 const rtc::PacketTime& packet_time) override; 192 const rtc::PacketTime& packet_time) override;
199 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet, 193 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet,
200 const rtc::PacketTime& packet_time) override; 194 const rtc::PacketTime& packet_time) override;
201 void OnNetworkRouteChanged(const std::string& transport_name, 195 void OnNetworkRouteChanged(const std::string& transport_name,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; 276 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_;
283 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; 277 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
284 278
285 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_; 279 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_;
286 280
287 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); 281 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel);
288 }; 282 };
289 } // namespace cricket 283 } // namespace cricket
290 284
291 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ 285 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698