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

Side by Side Diff: webrtc/modules/video_coding/include/video_coding_defines.h

Issue 2946413002: Report timing frames info in GetStats. (Closed)
Patch Set: Implement Hbos@ comments Created 3 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual void OnDiscardedPacketsUpdated(int discarded_packets) = 0; 102 virtual void OnDiscardedPacketsUpdated(int discarded_packets) = 0;
103 virtual void OnFrameCountsUpdated(const FrameCounts& frame_counts) = 0; 103 virtual void OnFrameCountsUpdated(const FrameCounts& frame_counts) = 0;
104 virtual void OnFrameBufferTimingsUpdated(int decode_ms, 104 virtual void OnFrameBufferTimingsUpdated(int decode_ms,
105 int max_decode_ms, 105 int max_decode_ms,
106 int current_delay_ms, 106 int current_delay_ms,
107 int target_delay_ms, 107 int target_delay_ms,
108 int jitter_buffer_ms, 108 int jitter_buffer_ms,
109 int min_playout_delay_ms, 109 int min_playout_delay_ms,
110 int render_delay_ms) = 0; 110 int render_delay_ms) = 0;
111 111
112 virtual void OnTimingFrameInfoUpdated(
113 const TimingFrameInfo& info) = 0;
114
112 protected: 115 protected:
113 virtual ~VCMReceiveStatisticsCallback() {} 116 virtual ~VCMReceiveStatisticsCallback() {}
114 }; 117 };
115 118
116 // Callback class used for telling the user about how to configure the FEC, 119 // Callback class used for telling the user about how to configure the FEC,
117 // and the rates sent the last second is returned to the VCM. 120 // and the rates sent the last second is returned to the VCM.
118 class VCMProtectionCallback { 121 class VCMProtectionCallback {
119 public: 122 public:
120 virtual int ProtectionRequest(const FecProtectionParams* delta_params, 123 virtual int ProtectionRequest(const FecProtectionParams* delta_params,
121 const FecProtectionParams* key_params, 124 const FecProtectionParams* key_params,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 public: 167 public:
165 virtual void RequestKeyFrame() = 0; 168 virtual void RequestKeyFrame() = 0;
166 169
167 protected: 170 protected:
168 virtual ~KeyFrameRequestSender() {} 171 virtual ~KeyFrameRequestSender() {}
169 }; 172 };
170 173
171 } // namespace webrtc 174 } // namespace webrtc
172 175
173 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ 176 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698