| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // used to unpack incoming packets. | 44 // used to unpack incoming packets. |
| 45 std::string payload_name; | 45 std::string payload_name; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 struct Stats { | 48 struct Stats { |
| 49 int network_frame_rate = 0; | 49 int network_frame_rate = 0; |
| 50 int decode_frame_rate = 0; | 50 int decode_frame_rate = 0; |
| 51 int render_frame_rate = 0; | 51 int render_frame_rate = 0; |
| 52 | 52 |
| 53 // Decoder stats. | 53 // Decoder stats. |
| 54 std::string decoder_implementation_name = "unknown"; |
| 54 FrameCounts frame_counts; | 55 FrameCounts frame_counts; |
| 55 int decode_ms = 0; | 56 int decode_ms = 0; |
| 56 int max_decode_ms = 0; | 57 int max_decode_ms = 0; |
| 57 int current_delay_ms = 0; | 58 int current_delay_ms = 0; |
| 58 int target_delay_ms = 0; | 59 int target_delay_ms = 0; |
| 59 int jitter_buffer_ms = 0; | 60 int jitter_buffer_ms = 0; |
| 60 int min_playout_delay_ms = 0; | 61 int min_playout_delay_ms = 0; |
| 61 int render_delay_ms = 10; | 62 int render_delay_ms = 10; |
| 62 | 63 |
| 63 int current_payload_type = -1; | 64 int current_payload_type = -1; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 int target_delay_ms = 0; | 169 int target_delay_ms = 0; |
| 169 }; | 170 }; |
| 170 | 171 |
| 171 // TODO(pbos): Add info on currently-received codec to Stats. | 172 // TODO(pbos): Add info on currently-received codec to Stats. |
| 172 virtual Stats GetStats() const = 0; | 173 virtual Stats GetStats() const = 0; |
| 173 }; | 174 }; |
| 174 | 175 |
| 175 } // namespace webrtc | 176 } // namespace webrtc |
| 176 | 177 |
| 177 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 178 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |