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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // Decoder stats. | 68 // Decoder stats. |
69 FrameCounts frame_counts; | 69 FrameCounts frame_counts; |
70 int decode_ms = 0; | 70 int decode_ms = 0; |
71 int max_decode_ms = 0; | 71 int max_decode_ms = 0; |
72 int current_delay_ms = 0; | 72 int current_delay_ms = 0; |
73 int target_delay_ms = 0; | 73 int target_delay_ms = 0; |
74 int jitter_buffer_ms = 0; | 74 int jitter_buffer_ms = 0; |
75 int min_playout_delay_ms = 0; | 75 int min_playout_delay_ms = 0; |
76 int render_delay_ms = 10; | 76 int render_delay_ms = 10; |
77 | 77 |
| 78 int current_payload_type = -1; |
| 79 |
78 int total_bitrate_bps = 0; | 80 int total_bitrate_bps = 0; |
79 int discarded_packets = 0; | 81 int discarded_packets = 0; |
80 | 82 |
81 uint32_t ssrc = 0; | 83 uint32_t ssrc = 0; |
82 std::string c_name; | 84 std::string c_name; |
83 StreamDataCounters rtp_stats; | 85 StreamDataCounters rtp_stats; |
84 RtcpPacketTypeCounter rtcp_packet_type_counts; | 86 RtcpPacketTypeCounter rtcp_packet_type_counts; |
85 RtcpStatistics rtcp_stats; | 87 RtcpStatistics rtcp_stats; |
86 }; | 88 }; |
87 | 89 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 int target_delay_ms = 0; | 168 int target_delay_ms = 0; |
167 }; | 169 }; |
168 | 170 |
169 // TODO(pbos): Add info on currently-received codec to Stats. | 171 // TODO(pbos): Add info on currently-received codec to Stats. |
170 virtual Stats GetStats() const = 0; | 172 virtual Stats GetStats() const = 0; |
171 }; | 173 }; |
172 | 174 |
173 } // namespace webrtc | 175 } // namespace webrtc |
174 | 176 |
175 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 177 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
OLD | NEW |