| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 int channel_id, | 42 int channel_id, |
| 43 const VideoReceiveStream::Config& config, | 43 const VideoReceiveStream::Config& config, |
| 44 webrtc::VoiceEngine* voice_engine); | 44 webrtc::VoiceEngine* voice_engine); |
| 45 ~VideoReceiveStream() override; | 45 ~VideoReceiveStream() override; |
| 46 | 46 |
| 47 // webrtc::ReceiveStream implementation. | 47 // webrtc::ReceiveStream implementation. |
| 48 void Start() override; | 48 void Start() override; |
| 49 void Stop() override; | 49 void Stop() override; |
| 50 void SignalNetworkState(NetworkState state) override; | 50 void SignalNetworkState(NetworkState state) override; |
| 51 bool DeliverRtcp(const uint8_t* packet, size_t length) override; | 51 bool DeliverRtcp(const uint8_t* packet, size_t length) override; |
| 52 bool DeliverRtp(const uint8_t* packet, size_t length) override; | 52 bool DeliverRtp(const uint8_t* packet, |
| 53 size_t length, |
| 54 const PacketTime& packet_time) override; |
| 53 | 55 |
| 54 // webrtc::VideoReceiveStream implementation. | 56 // webrtc::VideoReceiveStream implementation. |
| 55 webrtc::VideoReceiveStream::Stats GetStats() const override; | 57 webrtc::VideoReceiveStream::Stats GetStats() const override; |
| 56 | 58 |
| 57 // Overrides I420FrameCallback. | 59 // Overrides I420FrameCallback. |
| 58 void FrameCallback(VideoFrame* video_frame) override; | 60 void FrameCallback(VideoFrame* video_frame) override; |
| 59 | 61 |
| 60 // Overrides VideoRenderCallback. | 62 // Overrides VideoRenderCallback. |
| 61 int RenderFrame(const uint32_t /*stream_id*/, | 63 int RenderFrame(const uint32_t /*stream_id*/, |
| 62 const VideoFrame& video_frame) override; | 64 const VideoFrame& video_frame) override; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 78 | 80 |
| 79 ViEChannel* vie_channel_; | 81 ViEChannel* vie_channel_; |
| 80 rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_; | 82 rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_; |
| 81 | 83 |
| 82 rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_; | 84 rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_; |
| 83 }; | 85 }; |
| 84 } // namespace internal | 86 } // namespace internal |
| 85 } // namespace webrtc | 87 } // namespace webrtc |
| 86 | 88 |
| 87 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 89 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |