Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: webrtc/media/engine/webrtcvideoengine2.h

Issue 2636443002: Add experimental simulcast screen content mode (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 rtc::AsyncInvoker invoker_; 340 rtc::AsyncInvoker invoker_;
341 rtc::Thread* worker_thread_; 341 rtc::Thread* worker_thread_;
342 const std::vector<uint32_t> ssrcs_ ACCESS_ON(&thread_checker_); 342 const std::vector<uint32_t> ssrcs_ ACCESS_ON(&thread_checker_);
343 const std::vector<SsrcGroup> ssrc_groups_ ACCESS_ON(&thread_checker_); 343 const std::vector<SsrcGroup> ssrc_groups_ ACCESS_ON(&thread_checker_);
344 webrtc::Call* const call_; 344 webrtc::Call* const call_;
345 const bool enable_cpu_overuse_detection_; 345 const bool enable_cpu_overuse_detection_;
346 rtc::VideoSourceInterface<webrtc::VideoFrame>* source_ 346 rtc::VideoSourceInterface<webrtc::VideoFrame>* source_
347 ACCESS_ON(&thread_checker_); 347 ACCESS_ON(&thread_checker_);
348 WebRtcVideoEncoderFactory* const external_encoder_factory_ 348 WebRtcVideoEncoderFactory* const external_encoder_factory_
349 ACCESS_ON(&thread_checker_); 349 ACCESS_ON(&thread_checker_);
350 const std::unique_ptr<WebRtcVideoEncoderFactory> internal_encoder_factory_
351 ACCESS_ON(&thread_checker_);
350 352
351 rtc::CriticalSection lock_; 353 rtc::CriticalSection lock_;
352 webrtc::VideoSendStream* stream_ ACCESS_ON(&thread_checker_); 354 webrtc::VideoSendStream* stream_ ACCESS_ON(&thread_checker_);
353 rtc::VideoSinkInterface<webrtc::VideoFrame>* encoder_sink_ 355 rtc::VideoSinkInterface<webrtc::VideoFrame>* encoder_sink_
354 GUARDED_BY(lock_); 356 GUARDED_BY(lock_);
355 // Contains settings that are the same for all streams in the MediaChannel, 357 // Contains settings that are the same for all streams in the MediaChannel,
356 // such as codecs, header extensions, and the global bitrate limit for the 358 // such as codecs, header extensions, and the global bitrate limit for the
357 // entire channel. 359 // entire channel.
358 VideoSendStreamParameters parameters_ ACCESS_ON(&thread_checker_); 360 VideoSendStreamParameters parameters_ ACCESS_ON(&thread_checker_);
359 // Contains settings that are unique for each stream, such as max_bitrate. 361 // Contains settings that are unique for each stream, such as max_bitrate.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 // send_params/recv_params, rtp_extensions, options, etc. 513 // send_params/recv_params, rtp_extensions, options, etc.
512 VideoSendParameters send_params_; 514 VideoSendParameters send_params_;
513 VideoOptions default_send_options_; 515 VideoOptions default_send_options_;
514 VideoRecvParameters recv_params_; 516 VideoRecvParameters recv_params_;
515 int64_t last_stats_log_ms_; 517 int64_t last_stats_log_ms_;
516 }; 518 };
517 519
518 } // namespace cricket 520 } // namespace cricket
519 521
520 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ 522 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698