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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 rtc::VideoSinkWants sink_wants_; | 158 rtc::VideoSinkWants sink_wants_; |
159 | 159 |
160 bool codec_settings_set_; | 160 bool codec_settings_set_; |
161 union VpxSettings { | 161 union VpxSettings { |
162 webrtc::VideoCodecVP8 vp8; | 162 webrtc::VideoCodecVP8 vp8; |
163 webrtc::VideoCodecVP9 vp9; | 163 webrtc::VideoCodecVP9 vp9; |
164 } vpx_settings_; | 164 } vpx_settings_; |
165 bool resolution_scaling_enabled_; | 165 bool resolution_scaling_enabled_; |
166 rtc::VideoSourceInterface<webrtc::VideoFrame>* source_; | 166 rtc::VideoSourceInterface<webrtc::VideoFrame>* source_; |
167 int num_swapped_frames_; | 167 int num_swapped_frames_; |
168 webrtc::VideoFrame last_frame_; | 168 rtc::Optional<webrtc::VideoFrame> last_frame_; |
169 webrtc::VideoSendStream::Stats stats_; | 169 webrtc::VideoSendStream::Stats stats_; |
170 int num_encoder_reconfigurations_ = 0; | 170 int num_encoder_reconfigurations_ = 0; |
171 }; | 171 }; |
172 | 172 |
173 class FakeVideoReceiveStream final : public webrtc::VideoReceiveStream { | 173 class FakeVideoReceiveStream final : public webrtc::VideoReceiveStream { |
174 public: | 174 public: |
175 explicit FakeVideoReceiveStream(webrtc::VideoReceiveStream::Config config); | 175 explicit FakeVideoReceiveStream(webrtc::VideoReceiveStream::Config config); |
176 | 176 |
177 const webrtc::VideoReceiveStream::Config& GetConfig(); | 177 const webrtc::VideoReceiveStream::Config& GetConfig(); |
178 | 178 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 | 302 |
303 int num_created_send_streams_; | 303 int num_created_send_streams_; |
304 int num_created_receive_streams_; | 304 int num_created_receive_streams_; |
305 | 305 |
306 int audio_transport_overhead_; | 306 int audio_transport_overhead_; |
307 int video_transport_overhead_; | 307 int video_transport_overhead_; |
308 }; | 308 }; |
309 | 309 |
310 } // namespace cricket | 310 } // namespace cricket |
311 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ | 311 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ |
OLD | NEW |