| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // limitations. | 62 // limitations. |
| 63 int target_media_bitrate_bps = 0; | 63 int target_media_bitrate_bps = 0; |
| 64 // Bitrate the encoder is actually producing. | 64 // Bitrate the encoder is actually producing. |
| 65 int media_bitrate_bps = 0; | 65 int media_bitrate_bps = 0; |
| 66 // Media bitrate this VideoSendStream is configured to prefer if there are | 66 // Media bitrate this VideoSendStream is configured to prefer if there are |
| 67 // no bandwidth limitations. | 67 // no bandwidth limitations. |
| 68 int preferred_media_bitrate_bps = 0; | 68 int preferred_media_bitrate_bps = 0; |
| 69 bool suspended = false; | 69 bool suspended = false; |
| 70 bool bw_limited_resolution = false; | 70 bool bw_limited_resolution = false; |
| 71 bool cpu_limited_resolution = false; | 71 bool cpu_limited_resolution = false; |
| 72 bool bw_limited_framerate = false; |
| 73 bool cpu_limited_framerate = false; |
| 72 // Total number of times resolution as been requested to be changed due to | 74 // Total number of times resolution as been requested to be changed due to |
| 73 // CPU/quality adaptation. | 75 // CPU/quality adaptation. |
| 74 int number_of_cpu_adapt_changes = 0; | 76 int number_of_cpu_adapt_changes = 0; |
| 75 int number_of_quality_adapt_changes = 0; | 77 int number_of_quality_adapt_changes = 0; |
| 76 std::map<uint32_t, StreamStats> substreams; | 78 std::map<uint32_t, StreamStats> substreams; |
| 77 }; | 79 }; |
| 78 | 80 |
| 79 struct Config { | 81 struct Config { |
| 80 public: | 82 public: |
| 81 Config() = delete; | 83 Config() = delete; |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); | 259 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); |
| 258 } | 260 } |
| 259 | 261 |
| 260 protected: | 262 protected: |
| 261 virtual ~VideoSendStream() {} | 263 virtual ~VideoSendStream() {} |
| 262 }; | 264 }; |
| 263 | 265 |
| 264 } // namespace webrtc | 266 } // namespace webrtc |
| 265 | 267 |
| 266 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ | 268 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ |
| OLD | NEW |