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

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

Issue 1722253002: - Clean up unused voice engine DTMF code. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@voe_dtmf_1
Patch Set: more remove Created 4 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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // webrtc::SendStream implementation. 48 // webrtc::SendStream implementation.
49 void Start() override {} 49 void Start() override {}
50 void Stop() override {} 50 void Stop() override {}
51 void SignalNetworkState(webrtc::NetworkState state) override {} 51 void SignalNetworkState(webrtc::NetworkState state) override {}
52 bool DeliverRtcp(const uint8_t* packet, size_t length) override { 52 bool DeliverRtcp(const uint8_t* packet, size_t length) override {
53 return true; 53 return true;
54 } 54 }
55 55
56 // webrtc::AudioSendStream implementation. 56 // webrtc::AudioSendStream implementation.
57 bool SendTelephoneEvent(int payload_type, uint8_t event, 57 bool SendTelephoneEvent(int payload_type, uint8_t event,
58 uint32_t duration_ms) override; 58 uint16_t duration_ms) override;
59 webrtc::AudioSendStream::Stats GetStats() const override; 59 webrtc::AudioSendStream::Stats GetStats() const override;
60 60
61 TelephoneEvent latest_telephone_event_; 61 TelephoneEvent latest_telephone_event_;
62 webrtc::AudioSendStream::Config config_; 62 webrtc::AudioSendStream::Config config_;
63 webrtc::AudioSendStream::Stats stats_; 63 webrtc::AudioSendStream::Stats stats_;
64 }; 64 };
65 65
66 class FakeAudioReceiveStream final : public webrtc::AudioReceiveStream { 66 class FakeAudioReceiveStream final : public webrtc::AudioReceiveStream {
67 public: 67 public:
68 explicit FakeAudioReceiveStream( 68 explicit FakeAudioReceiveStream(
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 std::vector<FakeAudioSendStream*> audio_send_streams_; 243 std::vector<FakeAudioSendStream*> audio_send_streams_;
244 std::vector<FakeVideoReceiveStream*> video_receive_streams_; 244 std::vector<FakeVideoReceiveStream*> video_receive_streams_;
245 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; 245 std::vector<FakeAudioReceiveStream*> audio_receive_streams_;
246 246
247 int num_created_send_streams_; 247 int num_created_send_streams_;
248 int num_created_receive_streams_; 248 int num_created_receive_streams_;
249 }; 249 };
250 250
251 } // namespace cricket 251 } // namespace cricket
252 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ 252 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698