OLD | NEW |
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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 webrtc::VideoReceiveStream::Config config_; | 208 webrtc::VideoReceiveStream::Config config_; |
209 bool receiving_; | 209 bool receiving_; |
210 webrtc::VideoReceiveStream::Stats stats_; | 210 webrtc::VideoReceiveStream::Stats stats_; |
211 }; | 211 }; |
212 | 212 |
213 class FakeFlexfecReceiveStream final : public webrtc::FlexfecReceiveStream { | 213 class FakeFlexfecReceiveStream final : public webrtc::FlexfecReceiveStream { |
214 public: | 214 public: |
215 explicit FakeFlexfecReceiveStream( | 215 explicit FakeFlexfecReceiveStream( |
216 const webrtc::FlexfecReceiveStream::Config& config); | 216 const webrtc::FlexfecReceiveStream::Config& config); |
217 | 217 |
218 const webrtc::FlexfecReceiveStream::Config& GetConfig() const; | 218 const webrtc::FlexfecReceiveStream::Config& GetConfig() const override; |
219 | 219 |
220 private: | 220 private: |
221 // webrtc::FlexfecReceiveStream implementation. | 221 // webrtc::FlexfecReceiveStream implementation. |
222 void Start() override; | 222 void Start() override; |
223 void Stop() override; | 223 void Stop() override; |
224 | 224 |
225 webrtc::FlexfecReceiveStream::Stats GetStats() const override; | 225 webrtc::FlexfecReceiveStream::Stats GetStats() const override; |
226 | 226 |
227 webrtc::FlexfecReceiveStream::Config config_; | 227 webrtc::FlexfecReceiveStream::Config config_; |
228 bool receiving_; | 228 bool receiving_; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 | 318 |
319 int num_created_send_streams_; | 319 int num_created_send_streams_; |
320 int num_created_receive_streams_; | 320 int num_created_receive_streams_; |
321 | 321 |
322 int audio_transport_overhead_; | 322 int audio_transport_overhead_; |
323 int video_transport_overhead_; | 323 int video_transport_overhead_; |
324 }; | 324 }; |
325 | 325 |
326 } // namespace cricket | 326 } // namespace cricket |
327 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ | 327 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ |
OLD | NEW |