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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // Note: Ignored if 'renderer' is false. | 53 // Note: Ignored if 'renderer' is false. |
54 int expected_delay_ms = 0; | 54 int expected_delay_ms = 0; |
55 }; | 55 }; |
56 | 56 |
57 struct Stats { | 57 struct Stats { |
58 int network_frame_rate = 0; | 58 int network_frame_rate = 0; |
59 int decode_frame_rate = 0; | 59 int decode_frame_rate = 0; |
60 int render_frame_rate = 0; | 60 int render_frame_rate = 0; |
61 | 61 |
62 // Decoder stats. | 62 // Decoder stats. |
| 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; |
70 int render_delay_ms = 10; | 71 int render_delay_ms = 10; |
71 | 72 |
72 int current_payload_type = -1; | 73 int current_payload_type = -1; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 int target_delay_ms = 0; | 178 int target_delay_ms = 0; |
178 }; | 179 }; |
179 | 180 |
180 // TODO(pbos): Add info on currently-received codec to Stats. | 181 // TODO(pbos): Add info on currently-received codec to Stats. |
181 virtual Stats GetStats() const = 0; | 182 virtual Stats GetStats() const = 0; |
182 }; | 183 }; |
183 | 184 |
184 } // namespace webrtc | 185 } // namespace webrtc |
185 | 186 |
186 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 187 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
OLD | NEW |