OLD | NEW |
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 virtual void OnCompleteFrame(bool is_keyframe, size_t size_bytes) = 0; | 101 virtual void OnCompleteFrame(bool is_keyframe, size_t size_bytes) = 0; |
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 virtual void OnTimingFrameInfoUpdated(const TimingFrameInfo& info) = 0; |
111 | 112 |
112 protected: | 113 protected: |
113 virtual ~VCMReceiveStatisticsCallback() {} | 114 virtual ~VCMReceiveStatisticsCallback() {} |
114 }; | 115 }; |
115 | 116 |
116 // Callback class used for telling the user about how to configure the FEC, | 117 // 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. | 118 // and the rates sent the last second is returned to the VCM. |
118 class VCMProtectionCallback { | 119 class VCMProtectionCallback { |
119 public: | 120 public: |
120 virtual int ProtectionRequest(const FecProtectionParams* delta_params, | 121 virtual int ProtectionRequest(const FecProtectionParams* delta_params, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 public: | 165 public: |
165 virtual void RequestKeyFrame() = 0; | 166 virtual void RequestKeyFrame() = 0; |
166 | 167 |
167 protected: | 168 protected: |
168 virtual ~KeyFrameRequestSender() {} | 169 virtual ~KeyFrameRequestSender() {} |
169 }; | 170 }; |
170 | 171 |
171 } // namespace webrtc | 172 } // namespace webrtc |
172 | 173 |
173 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ | 174 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ |
OLD | NEW |