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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 // webrtc::SendStream implementation. | 124 // webrtc::SendStream implementation. |
125 void Start() override; | 125 void Start() override; |
126 void Stop() override; | 126 void Stop() override; |
127 void SignalNetworkState(webrtc::NetworkState state) override {} | 127 void SignalNetworkState(webrtc::NetworkState state) override {} |
128 bool DeliverRtcp(const uint8_t* packet, size_t length) override { | 128 bool DeliverRtcp(const uint8_t* packet, size_t length) override { |
129 return true; | 129 return true; |
130 } | 130 } |
131 | 131 |
132 // webrtc::VideoSendStream implementation. | 132 // webrtc::VideoSendStream implementation. |
133 webrtc::VideoSendStream::Stats GetStats() override; | 133 webrtc::VideoSendStream::Stats GetStats() override; |
134 bool ReconfigureVideoEncoder( | 134 void ReconfigureVideoEncoder( |
135 const webrtc::VideoEncoderConfig& config) override; | 135 const webrtc::VideoEncoderConfig& config) override; |
136 webrtc::VideoCaptureInput* Input() override; | 136 webrtc::VideoCaptureInput* Input() override; |
137 | 137 |
138 bool sending_; | 138 bool sending_; |
139 webrtc::VideoSendStream::Config config_; | 139 webrtc::VideoSendStream::Config config_; |
140 webrtc::VideoEncoderConfig encoder_config_; | 140 webrtc::VideoEncoderConfig encoder_config_; |
141 bool codec_settings_set_; | 141 bool codec_settings_set_; |
142 union VpxSettings { | 142 union VpxSettings { |
143 webrtc::VideoCodecVP8 vp8; | 143 webrtc::VideoCodecVP8 vp8; |
144 webrtc::VideoCodecVP9 vp9; | 144 webrtc::VideoCodecVP9 vp9; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 std::vector<FakeAudioSendStream*> audio_send_streams_; | 244 std::vector<FakeAudioSendStream*> audio_send_streams_; |
245 std::vector<FakeVideoReceiveStream*> video_receive_streams_; | 245 std::vector<FakeVideoReceiveStream*> video_receive_streams_; |
246 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; | 246 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; |
247 | 247 |
248 int num_created_send_streams_; | 248 int num_created_send_streams_; |
249 int num_created_receive_streams_; | 249 int num_created_receive_streams_; |
250 }; | 250 }; |
251 | 251 |
252 } // namespace cricket | 252 } // namespace cricket |
253 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ | 253 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ |
OLD | NEW |