| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; | 71 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; |
| 72 void OnCompleteFrame(bool is_keyframe, size_t size_bytes) override; | 72 void OnCompleteFrame(bool is_keyframe, size_t size_bytes) override; |
| 73 void OnFrameBufferTimingsUpdated(int decode_ms, | 73 void OnFrameBufferTimingsUpdated(int decode_ms, |
| 74 int max_decode_ms, | 74 int max_decode_ms, |
| 75 int current_delay_ms, | 75 int current_delay_ms, |
| 76 int target_delay_ms, | 76 int target_delay_ms, |
| 77 int jitter_buffer_ms, | 77 int jitter_buffer_ms, |
| 78 int min_playout_delay_ms, | 78 int min_playout_delay_ms, |
| 79 int render_delay_ms) override; | 79 int render_delay_ms) override; |
| 80 | 80 |
| 81 void OnTimingFrameInfoUpdated(const TimingFrameInfo& info) override; |
| 82 |
| 81 void RegisterReceiveStatisticsProxy( | 83 void RegisterReceiveStatisticsProxy( |
| 82 ReceiveStatisticsProxy* receive_statistics_proxy); | 84 ReceiveStatisticsProxy* receive_statistics_proxy); |
| 83 | 85 |
| 84 // Implements StatsObserver. | 86 // Implements StatsObserver. |
| 85 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override; | 87 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override; |
| 86 | 88 |
| 87 private: | 89 private: |
| 88 // Used for all registered callbacks except rendering. | 90 // Used for all registered callbacks except rendering. |
| 89 rtc::CriticalSection crit_; | 91 rtc::CriticalSection crit_; |
| 90 | 92 |
| 91 vcm::VideoReceiver* const video_receiver_; | 93 vcm::VideoReceiver* const video_receiver_; |
| 92 | 94 |
| 93 ReceiveStatisticsProxy* const receive_stats_callback_; | 95 ReceiveStatisticsProxy* const receive_stats_callback_; |
| 94 rtc::VideoSinkInterface<VideoFrame>* const incoming_video_stream_; | 96 rtc::VideoSinkInterface<VideoFrame>* const incoming_video_stream_; |
| 95 | 97 |
| 96 int64_t last_rtt_ms_ GUARDED_BY(crit_); | 98 int64_t last_rtt_ms_ GUARDED_BY(crit_); |
| 97 }; | 99 }; |
| 98 | 100 |
| 99 } // namespace webrtc | 101 } // namespace webrtc |
| 100 | 102 |
| 101 #endif // WEBRTC_VIDEO_VIDEO_STREAM_DECODER_H_ | 103 #endif // WEBRTC_VIDEO_VIDEO_STREAM_DECODER_H_ |
| OLD | NEW |