| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 EncodedFrameObserver* pre_decode_callback = nullptr; | 165 EncodedFrameObserver* pre_decode_callback = nullptr; |
| 166 | 166 |
| 167 // Called for each decoded frame. E.g. used when adding effects to the | 167 // Called for each decoded frame. E.g. used when adding effects to the |
| 168 // decoded | 168 // decoded |
| 169 // stream. 'nullptr' disables the callback. | 169 // stream. 'nullptr' disables the callback. |
| 170 I420FrameCallback* pre_render_callback = nullptr; | 170 I420FrameCallback* pre_render_callback = nullptr; |
| 171 | 171 |
| 172 // Target delay in milliseconds. A positive value indicates this stream is | 172 // Target delay in milliseconds. A positive value indicates this stream is |
| 173 // used for streaming instead of a real-time call. | 173 // used for streaming instead of a real-time call. |
| 174 int target_delay_ms = 0; | 174 int target_delay_ms = 0; |
| 175 |
| 176 // True, if the renderer does not want WebRTC to do time control for it. |
| 177 bool renderer_has_time_control = false; |
| 175 }; | 178 }; |
| 176 | 179 |
| 177 // TODO(pbos): Add info on currently-received codec to Stats. | 180 // TODO(pbos): Add info on currently-received codec to Stats. |
| 178 virtual Stats GetStats() const = 0; | 181 virtual Stats GetStats() const = 0; |
| 179 }; | 182 }; |
| 180 | 183 |
| 181 } // namespace webrtc | 184 } // namespace webrtc |
| 182 | 185 |
| 183 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 186 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |