OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2015 Google Inc. | 3 * Copyright 2015 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // webrtc::SendStream implementation. | 140 // webrtc::SendStream implementation. |
141 void Start() override; | 141 void Start() override; |
142 void Stop() override; | 142 void Stop() override; |
143 void SignalNetworkState(webrtc::NetworkState state) override {} | 143 void SignalNetworkState(webrtc::NetworkState state) override {} |
144 bool DeliverRtcp(const uint8_t* packet, size_t length) override { | 144 bool DeliverRtcp(const uint8_t* packet, size_t length) override { |
145 return true; | 145 return true; |
146 } | 146 } |
147 | 147 |
148 // webrtc::VideoSendStream implementation. | 148 // webrtc::VideoSendStream implementation. |
149 webrtc::VideoSendStream::Stats GetStats() override; | 149 webrtc::VideoSendStream::Stats GetStats() override; |
150 bool ReconfigureVideoEncoder( | 150 void ReconfigureVideoEncoder( |
151 const webrtc::VideoEncoderConfig& config) override; | 151 const webrtc::VideoEncoderConfig& config) override; |
152 webrtc::VideoCaptureInput* Input() override; | 152 webrtc::VideoCaptureInput* Input() override; |
153 | 153 |
154 bool sending_; | 154 bool sending_; |
155 webrtc::VideoSendStream::Config config_; | 155 webrtc::VideoSendStream::Config config_; |
156 webrtc::VideoEncoderConfig encoder_config_; | 156 webrtc::VideoEncoderConfig encoder_config_; |
157 bool codec_settings_set_; | 157 bool codec_settings_set_; |
158 union VpxSettings { | 158 union VpxSettings { |
159 webrtc::VideoCodecVP8 vp8; | 159 webrtc::VideoCodecVP8 vp8; |
160 webrtc::VideoCodecVP9 vp9; | 160 webrtc::VideoCodecVP9 vp9; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 std::vector<FakeAudioSendStream*> audio_send_streams_; | 260 std::vector<FakeAudioSendStream*> audio_send_streams_; |
261 std::vector<FakeVideoReceiveStream*> video_receive_streams_; | 261 std::vector<FakeVideoReceiveStream*> video_receive_streams_; |
262 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; | 262 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; |
263 | 263 |
264 int num_created_send_streams_; | 264 int num_created_send_streams_; |
265 int num_created_receive_streams_; | 265 int num_created_receive_streams_; |
266 }; | 266 }; |
267 | 267 |
268 } // namespace cricket | 268 } // namespace cricket |
269 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ | 269 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ |
OLD | NEW |