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

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: fix rebase Created 5 years 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_encoder.h ('k') | webrtc/video_send_stream.h » ('j') | 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « webrtc/video_encoder.h ('k') | webrtc/video_send_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698