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

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

Issue 2987763003: Make ~webrtc::AudioSendStream public, and s/config()/GetConfig(), as well as make public. (Closed)
Patch Set: Created 3 years, 4 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 29 matching lines...) Expand all
40 int payload_type = -1; 40 int payload_type = -1;
41 int payload_frequency = -1; 41 int payload_frequency = -1;
42 int event_code = 0; 42 int event_code = 0;
43 int duration_ms = 0; 43 int duration_ms = 0;
44 }; 44 };
45 45
46 explicit FakeAudioSendStream( 46 explicit FakeAudioSendStream(
47 int id, const webrtc::AudioSendStream::Config& config); 47 int id, const webrtc::AudioSendStream::Config& config);
48 48
49 int id() const { return id_; } 49 int id() const { return id_; }
50 const webrtc::AudioSendStream::Config& GetConfig() const; 50 const webrtc::AudioSendStream::Config& GetConfig() const override;
51 webrtc::RtpState GetRtpState() const override;
52 const webrtc::TimeInterval& GetActiveLifetime() const override;
51 void SetStats(const webrtc::AudioSendStream::Stats& stats); 53 void SetStats(const webrtc::AudioSendStream::Stats& stats);
52 TelephoneEvent GetLatestTelephoneEvent() const; 54 TelephoneEvent GetLatestTelephoneEvent() const;
53 bool IsSending() const { return sending_; } 55 bool IsSending() const { return sending_; }
54 bool muted() const { return muted_; } 56 bool muted() const { return muted_; }
55 57
56 private: 58 private:
57 // webrtc::AudioSendStream implementation. 59 // webrtc::AudioSendStream implementation.
58 void Reconfigure(const webrtc::AudioSendStream::Config& config) override; 60 void Reconfigure(const webrtc::AudioSendStream::Config& config) override;
59 61
60 void Start() override { sending_ = true; } 62 void Start() override { sending_ = true; }
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 322
321 int num_created_send_streams_; 323 int num_created_send_streams_;
322 int num_created_receive_streams_; 324 int num_created_receive_streams_;
323 325
324 int audio_transport_overhead_; 326 int audio_transport_overhead_;
325 int video_transport_overhead_; 327 int video_transport_overhead_;
326 }; 328 };
327 329
328 } // namespace cricket 330 } // namespace cricket
329 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 331 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698