Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: webrtc/video_receive_stream.h

Issue 1315413002: Wire up currently-received video codec to stats. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: feedback Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/video_engine/vie_channel.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « webrtc/video_engine/vie_channel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698