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

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

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