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

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

Issue 2704183002: Revert of Revert Make the new jitter buffer the default jitter buffer. (Closed)
Patch Set: Rebase Created 3 years, 10 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 protected: 85 protected:
86 virtual ~VCMSendStatisticsCallback() {} 86 virtual ~VCMSendStatisticsCallback() {}
87 }; 87 };
88 88
89 // Callback class used for informing the user of the incoming bit rate and frame 89 // Callback class used for informing the user of the incoming bit rate and frame
90 // rate. 90 // rate.
91 class VCMReceiveStatisticsCallback { 91 class VCMReceiveStatisticsCallback {
92 public: 92 public:
93 virtual void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) = 0; 93 virtual void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) = 0;
94 virtual void OnCompleteFrame(bool is_keyframe, size_t size_bytes) = 0;
94 virtual void OnDiscardedPacketsUpdated(int discarded_packets) = 0; 95 virtual void OnDiscardedPacketsUpdated(int discarded_packets) = 0;
95 virtual void OnFrameCountsUpdated(const FrameCounts& frame_counts) = 0; 96 virtual void OnFrameCountsUpdated(const FrameCounts& frame_counts) = 0;
97 virtual void OnFrameBufferTimingsUpdated(int decode_ms,
98 int max_decode_ms,
99 int current_delay_ms,
100 int target_delay_ms,
101 int jitter_buffer_ms,
102 int min_playout_delay_ms,
103 int render_delay_ms) = 0;
96 104
97 protected: 105 protected:
98 virtual ~VCMReceiveStatisticsCallback() {} 106 virtual ~VCMReceiveStatisticsCallback() {}
99 }; 107 };
100 108
101 // Callback class used for informing the user of decode timing info. 109 // Callback class used for informing the user of decode timing info.
102 class VCMDecoderTimingCallback { 110 class VCMDecoderTimingCallback {
103 public: 111 public:
104 virtual void OnDecoderTiming(int decode_ms, 112 virtual void OnDecoderTiming(int decode_ms,
105 int max_decode_ms, 113 int max_decode_ms,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 public: 175 public:
168 virtual void RequestKeyFrame() = 0; 176 virtual void RequestKeyFrame() = 0;
169 177
170 protected: 178 protected:
171 virtual ~KeyFrameRequestSender() {} 179 virtual ~KeyFrameRequestSender() {}
172 }; 180 };
173 181
174 } // namespace webrtc 182 } // namespace webrtc
175 183
176 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ 184 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/frame_buffer2_unittest.cc ('k') | webrtc/modules/video_coding/timing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698