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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 void AddSecondarySink(webrtc::RtpPacketSinkInterface* sink) override; | 202 void AddSecondarySink(webrtc::RtpPacketSinkInterface* sink) override; |
203 void RemoveSecondarySink(const webrtc::RtpPacketSinkInterface* sink) override; | 203 void RemoveSecondarySink(const webrtc::RtpPacketSinkInterface* sink) override; |
204 | 204 |
205 private: | 205 private: |
206 // webrtc::VideoReceiveStream implementation. | 206 // webrtc::VideoReceiveStream implementation. |
207 void Start() override; | 207 void Start() override; |
208 void Stop() override; | 208 void Stop() override; |
209 | 209 |
210 webrtc::VideoReceiveStream::Stats GetStats() const override; | 210 webrtc::VideoReceiveStream::Stats GetStats() const override; |
211 | 211 |
212 rtc::Optional<webrtc::TimingFrameInfo> GetAndResetTimingFrameInfo() override; | |
213 | |
214 webrtc::VideoReceiveStream::Config config_; | 212 webrtc::VideoReceiveStream::Config config_; |
215 bool receiving_; | 213 bool receiving_; |
216 webrtc::VideoReceiveStream::Stats stats_; | 214 webrtc::VideoReceiveStream::Stats stats_; |
217 }; | 215 }; |
218 | 216 |
219 class FakeFlexfecReceiveStream final : public webrtc::FlexfecReceiveStream { | 217 class FakeFlexfecReceiveStream final : public webrtc::FlexfecReceiveStream { |
220 public: | 218 public: |
221 explicit FakeFlexfecReceiveStream( | 219 explicit FakeFlexfecReceiveStream( |
222 const webrtc::FlexfecReceiveStream::Config& config); | 220 const webrtc::FlexfecReceiveStream::Config& config); |
223 | 221 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 | 319 |
322 int num_created_send_streams_; | 320 int num_created_send_streams_; |
323 int num_created_receive_streams_; | 321 int num_created_receive_streams_; |
324 | 322 |
325 int audio_transport_overhead_; | 323 int audio_transport_overhead_; |
326 int video_transport_overhead_; | 324 int video_transport_overhead_; |
327 }; | 325 }; |
328 | 326 |
329 } // namespace cricket | 327 } // namespace cricket |
330 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ | 328 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ |
OLD | NEW |