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 23 matching lines...) Expand all Loading... |
34 namespace internal { | 34 namespace internal { |
35 | 35 |
36 class VideoReceiveStream : public webrtc::VideoReceiveStream, | 36 class VideoReceiveStream : public webrtc::VideoReceiveStream, |
37 public I420FrameCallback, | 37 public I420FrameCallback, |
38 public VideoRenderCallback { | 38 public VideoRenderCallback { |
39 public: | 39 public: |
40 VideoReceiveStream(int num_cpu_cores, | 40 VideoReceiveStream(int num_cpu_cores, |
41 ChannelGroup* channel_group, | 41 ChannelGroup* channel_group, |
42 int channel_id, | 42 int channel_id, |
43 const VideoReceiveStream::Config& config, | 43 const VideoReceiveStream::Config& config, |
44 newapi::Transport* transport, | |
45 webrtc::VoiceEngine* voice_engine); | 44 webrtc::VoiceEngine* voice_engine); |
46 ~VideoReceiveStream() override; | 45 ~VideoReceiveStream() override; |
47 | 46 |
48 // webrtc::ReceiveStream implementation. | 47 // webrtc::ReceiveStream implementation. |
49 void Start() override; | 48 void Start() override; |
50 void Stop() override; | 49 void Stop() override; |
51 void SignalNetworkState(NetworkState state) override; | 50 void SignalNetworkState(NetworkState state) override; |
52 bool DeliverRtcp(const uint8_t* packet, size_t length) override; | 51 bool DeliverRtcp(const uint8_t* packet, size_t length) override; |
53 bool DeliverRtp(const uint8_t* packet, size_t length) override; | 52 bool DeliverRtp(const uint8_t* packet, size_t length) override; |
54 | 53 |
(...skipping 24 matching lines...) Expand all Loading... |
79 | 78 |
80 ViEChannel* vie_channel_; | 79 ViEChannel* vie_channel_; |
81 rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_; | 80 rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_; |
82 | 81 |
83 rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_; | 82 rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_; |
84 }; | 83 }; |
85 } // namespace internal | 84 } // namespace internal |
86 } // namespace webrtc | 85 } // namespace webrtc |
87 | 86 |
88 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 87 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
OLD | NEW |