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

Side by Side Diff: webrtc/video_receive_stream.h

Issue 1406903002: Expose codec implementation names in stats. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: feedback Created 5 years, 1 month 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
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 int target_delay_ms = 0; 175 int target_delay_ms = 0;
175 }; 176 };
176 177
177 // TODO(pbos): Add info on currently-received codec to Stats. 178 // TODO(pbos): Add info on currently-received codec to Stats.
178 virtual Stats GetStats() const = 0; 179 virtual Stats GetStats() const = 0;
179 }; 180 };
180 181
181 } // namespace webrtc 182 } // namespace webrtc
182 183
183 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ 184 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698