| OLD | NEW | 
|---|
| 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 | 
| 11 #ifndef WEBRTC_MEDIA_ENGINE_SIMULCAST_H_ | 11 #ifndef WEBRTC_MEDIA_ENGINE_SIMULCAST_H_ | 
| 12 #define WEBRTC_MEDIA_ENGINE_SIMULCAST_H_ | 12 #define WEBRTC_MEDIA_ENGINE_SIMULCAST_H_ | 
| 13 | 13 | 
| 14 #include <vector> | 14 #include <vector> | 
| 15 | 15 | 
| 16 #include "webrtc/config.h" | 16 #include "webrtc/call/video_config.h" | 
| 17 #include "webrtc/rtc_base/basictypes.h" | 17 #include "webrtc/rtc_base/basictypes.h" | 
| 18 | 18 | 
| 19 namespace cricket { | 19 namespace cricket { | 
| 20 struct StreamParams; | 20 struct StreamParams; | 
| 21 | 21 | 
| 22 // TODO(sprang): Remove this, as we're moving away from temporal layer mode. | 22 // TODO(sprang): Remove this, as we're moving away from temporal layer mode. | 
| 23 // Config for use with screen cast when temporal layers are enabled. | 23 // Config for use with screen cast when temporal layers are enabled. | 
| 24 struct ScreenshareLayerConfig { | 24 struct ScreenshareLayerConfig { | 
| 25  public: | 25  public: | 
| 26   ScreenshareLayerConfig(int tl0_bitrate, int tl1_bitrate); | 26   ScreenshareLayerConfig(int tl0_bitrate, int tl1_bitrate); | 
| (...skipping 26 matching lines...) Expand all  Loading... | 
| 53                                                     int max_bitrate_bps, | 53                                                     int max_bitrate_bps, | 
| 54                                                     int max_qp, | 54                                                     int max_qp, | 
| 55                                                     int max_framerate, | 55                                                     int max_framerate, | 
| 56                                                     bool is_screencast = false); | 56                                                     bool is_screencast = false); | 
| 57 | 57 | 
| 58 bool UseSimulcastScreenshare(); | 58 bool UseSimulcastScreenshare(); | 
| 59 | 59 | 
| 60 }  // namespace cricket | 60 }  // namespace cricket | 
| 61 | 61 | 
| 62 #endif  // WEBRTC_MEDIA_ENGINE_SIMULCAST_H_ | 62 #endif  // WEBRTC_MEDIA_ENGINE_SIMULCAST_H_ | 
| OLD | NEW | 
|---|