| 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 // cricket::VideoCodec. | 50 // cricket::VideoCodec. |
| 51 std::map<std::string, std::string> codec_params; | 51 std::map<std::string, std::string> codec_params; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 struct Stats { | 54 struct Stats { |
| 55 std::string ToString(int64_t time_ms) const; | 55 std::string ToString(int64_t time_ms) const; |
| 56 | 56 |
| 57 int network_frame_rate = 0; | 57 int network_frame_rate = 0; |
| 58 int decode_frame_rate = 0; | 58 int decode_frame_rate = 0; |
| 59 int render_frame_rate = 0; | 59 int render_frame_rate = 0; |
| 60 uint32_t frames_rendered = 0; |
| 60 | 61 |
| 61 // Decoder stats. | 62 // Decoder stats. |
| 62 std::string decoder_implementation_name = "unknown"; | 63 std::string decoder_implementation_name = "unknown"; |
| 63 FrameCounts frame_counts; | 64 FrameCounts frame_counts; |
| 64 int decode_ms = 0; | 65 int decode_ms = 0; |
| 65 int max_decode_ms = 0; | 66 int max_decode_ms = 0; |
| 66 int current_delay_ms = 0; | 67 int current_delay_ms = 0; |
| 67 int target_delay_ms = 0; | 68 int target_delay_ms = 0; |
| 68 int jitter_buffer_ms = 0; | 69 int jitter_buffer_ms = 0; |
| 69 int min_playout_delay_ms = 0; | 70 int min_playout_delay_ms = 0; |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 EnableEncodedFrameRecording(rtc::kInvalidPlatformFileValue, 0); | 219 EnableEncodedFrameRecording(rtc::kInvalidPlatformFileValue, 0); |
| 219 } | 220 } |
| 220 | 221 |
| 221 protected: | 222 protected: |
| 222 virtual ~VideoReceiveStream() {} | 223 virtual ~VideoReceiveStream() {} |
| 223 }; | 224 }; |
| 224 | 225 |
| 225 } // namespace webrtc | 226 } // namespace webrtc |
| 226 | 227 |
| 227 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 228 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |