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