| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 struct Stats { | 52 struct Stats { |
| 53 std::string ToString(int64_t time_ms) const; | 53 std::string ToString(int64_t time_ms) const; |
| 54 std::string encoder_implementation_name = "unknown"; | 54 std::string encoder_implementation_name = "unknown"; |
| 55 int input_frame_rate = 0; | 55 int input_frame_rate = 0; |
| 56 int encode_frame_rate = 0; | 56 int encode_frame_rate = 0; |
| 57 int avg_encode_time_ms = 0; | 57 int avg_encode_time_ms = 0; |
| 58 int encode_usage_percent = 0; | 58 int encode_usage_percent = 0; |
| 59 uint32_t frames_encoded = 0; | 59 uint32_t frames_encoded = 0; |
| 60 rtc::Optional<uint64_t> qp_sum; |
| 60 // Bitrate the encoder is currently configured to use due to bandwidth | 61 // Bitrate the encoder is currently configured to use due to bandwidth |
| 61 // limitations. | 62 // limitations. |
| 62 int target_media_bitrate_bps = 0; | 63 int target_media_bitrate_bps = 0; |
| 63 // Bitrate the encoder is actually producing. | 64 // Bitrate the encoder is actually producing. |
| 64 int media_bitrate_bps = 0; | 65 int media_bitrate_bps = 0; |
| 65 // Media bitrate this VideoSendStream is configured to prefer if there are | 66 // Media bitrate this VideoSendStream is configured to prefer if there are |
| 66 // no bandwidth limitations. | 67 // no bandwidth limitations. |
| 67 int preferred_media_bitrate_bps = 0; | 68 int preferred_media_bitrate_bps = 0; |
| 68 bool suspended = false; | 69 bool suspended = false; |
| 69 bool bw_limited_resolution = false; | 70 bool bw_limited_resolution = false; |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); | 219 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); |
| 219 } | 220 } |
| 220 | 221 |
| 221 protected: | 222 protected: |
| 222 virtual ~VideoSendStream() {} | 223 virtual ~VideoSendStream() {} |
| 223 }; | 224 }; |
| 224 | 225 |
| 225 } // namespace webrtc | 226 } // namespace webrtc |
| 226 | 227 |
| 227 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ | 228 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ |
| OLD | NEW |