| 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 20 matching lines...) Expand all Loading... |
| 31 #include "webrtc/video/video_stream_decoder.h" | 31 #include "webrtc/video/video_stream_decoder.h" |
| 32 | 32 |
| 33 namespace webrtc { | 33 namespace webrtc { |
| 34 | 34 |
| 35 class CallStats; | 35 class CallStats; |
| 36 class IvfFileWriter; | 36 class IvfFileWriter; |
| 37 class ProcessThread; | 37 class ProcessThread; |
| 38 class RTPFragmentationHeader; | 38 class RTPFragmentationHeader; |
| 39 class RtpStreamReceiverInterface; | 39 class RtpStreamReceiverInterface; |
| 40 class RtpStreamReceiverControllerInterface; | 40 class RtpStreamReceiverControllerInterface; |
| 41 class RtxReceiveStream; | |
| 42 class VCMTiming; | 41 class VCMTiming; |
| 43 class VCMJitterEstimator; | 42 class VCMJitterEstimator; |
| 44 | 43 |
| 45 namespace internal { | 44 namespace internal { |
| 46 | 45 |
| 47 class VideoReceiveStream : public webrtc::VideoReceiveStream, | 46 class VideoReceiveStream : public webrtc::VideoReceiveStream, |
| 48 public rtc::VideoSinkInterface<VideoFrame>, | 47 public rtc::VideoSinkInterface<VideoFrame>, |
| 49 public EncodedImageCallback, | 48 public EncodedImageCallback, |
| 50 public NackSender, | 49 public NackSender, |
| 51 public KeyFrameRequestSender, | 50 public KeyFrameRequestSender, |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 RtpStreamsSynchronizer rtp_stream_sync_; | 136 RtpStreamsSynchronizer rtp_stream_sync_; |
| 138 | 137 |
| 139 rtc::CriticalSection ivf_writer_lock_; | 138 rtc::CriticalSection ivf_writer_lock_; |
| 140 std::unique_ptr<IvfFileWriter> ivf_writer_ GUARDED_BY(ivf_writer_lock_); | 139 std::unique_ptr<IvfFileWriter> ivf_writer_ GUARDED_BY(ivf_writer_lock_); |
| 141 | 140 |
| 142 // Members for the new jitter buffer experiment. | 141 // Members for the new jitter buffer experiment. |
| 143 std::unique_ptr<VCMJitterEstimator> jitter_estimator_; | 142 std::unique_ptr<VCMJitterEstimator> jitter_estimator_; |
| 144 std::unique_ptr<video_coding::FrameBuffer> frame_buffer_; | 143 std::unique_ptr<video_coding::FrameBuffer> frame_buffer_; |
| 145 | 144 |
| 146 std::unique_ptr<RtpStreamReceiverInterface> media_receiver_; | 145 std::unique_ptr<RtpStreamReceiverInterface> media_receiver_; |
| 147 std::unique_ptr<RtxReceiveStream> rtx_receive_stream_; | |
| 148 std::unique_ptr<RtpStreamReceiverInterface> rtx_receiver_; | 146 std::unique_ptr<RtpStreamReceiverInterface> rtx_receiver_; |
| 149 | 147 |
| 150 // Whenever we are in an undecodable state (stream has just started or due to | 148 // Whenever we are in an undecodable state (stream has just started or due to |
| 151 // a decoding error) we require a keyframe to restart the stream. | 149 // a decoding error) we require a keyframe to restart the stream. |
| 152 bool keyframe_required_ = true; | 150 bool keyframe_required_ = true; |
| 153 | 151 |
| 154 // If we have successfully decoded any frame. | 152 // If we have successfully decoded any frame. |
| 155 bool frame_decoded_ = false; | 153 bool frame_decoded_ = false; |
| 156 }; | 154 }; |
| 157 } // namespace internal | 155 } // namespace internal |
| 158 } // namespace webrtc | 156 } // namespace webrtc |
| 159 | 157 |
| 160 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 158 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |