| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // Overrides EncodedImageCallback. | 73 // Overrides EncodedImageCallback. |
| 74 int32_t Encoded(const EncodedImage& encoded_image, | 74 int32_t Encoded(const EncodedImage& encoded_image, |
| 75 const CodecSpecificInfo* codec_specific_info, | 75 const CodecSpecificInfo* codec_specific_info, |
| 76 const RTPFragmentationHeader* fragmentation) override; | 76 const RTPFragmentationHeader* fragmentation) override; |
| 77 | 77 |
| 78 const Config& config() const { return config_; } | 78 const Config& config() const { return config_; } |
| 79 | 79 |
| 80 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id); | 80 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id); |
| 81 | 81 |
| 82 private: | 82 private: |
| 83 static bool DecodeThreadFunction(void* ptr); |
| 84 void Decode(); |
| 85 |
| 83 TransportAdapter transport_adapter_; | 86 TransportAdapter transport_adapter_; |
| 84 EncodedFrameCallbackAdapter encoded_frame_proxy_; | 87 EncodedFrameCallbackAdapter encoded_frame_proxy_; |
| 85 const VideoReceiveStream::Config config_; | 88 const VideoReceiveStream::Config config_; |
| 86 ProcessThread* const process_thread_; | 89 ProcessThread* const process_thread_; |
| 87 Clock* const clock_; | 90 Clock* const clock_; |
| 88 | 91 |
| 92 rtc::PlatformThread decode_thread_; |
| 93 |
| 89 CongestionController* const congestion_controller_; | 94 CongestionController* const congestion_controller_; |
| 90 CallStats* const call_stats_; | 95 CallStats* const call_stats_; |
| 91 VieRemb* const remb_; | 96 VieRemb* const remb_; |
| 92 | 97 |
| 93 rtc::scoped_ptr<VideoCodingModule> vcm_; | 98 rtc::scoped_ptr<VideoCodingModule> vcm_; |
| 94 IncomingVideoStream incoming_video_stream_; | 99 IncomingVideoStream incoming_video_stream_; |
| 95 ReceiveStatisticsProxy stats_proxy_; | 100 ReceiveStatisticsProxy stats_proxy_; |
| 96 ViEChannel vie_channel_; | 101 ViEChannel vie_channel_; |
| 97 ViEReceiver* const vie_receiver_; | 102 ViEReceiver* const vie_receiver_; |
| 98 RtpRtcp* const rtp_rtcp_; | 103 RtpRtcp* const rtp_rtcp_; |
| 99 }; | 104 }; |
| 100 } // namespace internal | 105 } // namespace internal |
| 101 } // namespace webrtc | 106 } // namespace webrtc |
| 102 | 107 |
| 103 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 108 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |