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 27 matching lines...) Expand all Loading... |
38 namespace internal { | 38 namespace internal { |
39 | 39 |
40 class VideoReceiveStream : public webrtc::VideoReceiveStream, | 40 class VideoReceiveStream : public webrtc::VideoReceiveStream, |
41 public rtc::VideoSinkInterface<VideoFrame>, | 41 public rtc::VideoSinkInterface<VideoFrame>, |
42 public EncodedImageCallback, | 42 public EncodedImageCallback, |
43 public NackSender, | 43 public NackSender, |
44 public KeyFrameRequestSender { | 44 public KeyFrameRequestSender { |
45 public: | 45 public: |
46 VideoReceiveStream(int num_cpu_cores, | 46 VideoReceiveStream(int num_cpu_cores, |
47 CongestionController* congestion_controller, | 47 CongestionController* congestion_controller, |
48 const VideoReceiveStream::Config& config, | 48 VideoReceiveStream::Config config, |
49 webrtc::VoiceEngine* voice_engine, | 49 webrtc::VoiceEngine* voice_engine, |
50 ProcessThread* process_thread, | 50 ProcessThread* process_thread, |
51 CallStats* call_stats, | 51 CallStats* call_stats, |
52 VieRemb* remb); | 52 VieRemb* remb); |
53 ~VideoReceiveStream() override; | 53 ~VideoReceiveStream() override; |
54 | 54 |
55 void SignalNetworkState(NetworkState state); | 55 void SignalNetworkState(NetworkState state); |
56 bool DeliverRtcp(const uint8_t* packet, size_t length); | 56 bool DeliverRtcp(const uint8_t* packet, size_t length); |
57 bool DeliverRtp(const uint8_t* packet, | 57 bool DeliverRtp(const uint8_t* packet, |
58 size_t length, | 58 size_t length, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 RtpStreamReceiver rtp_stream_receiver_; | 103 RtpStreamReceiver rtp_stream_receiver_; |
104 VideoStreamDecoder video_stream_decoder_; | 104 VideoStreamDecoder video_stream_decoder_; |
105 ViESyncModule vie_sync_; | 105 ViESyncModule vie_sync_; |
106 | 106 |
107 std::unique_ptr<IvfFileWriter> ivf_writer_; | 107 std::unique_ptr<IvfFileWriter> ivf_writer_; |
108 }; | 108 }; |
109 } // namespace internal | 109 } // namespace internal |
110 } // namespace webrtc | 110 } // namespace webrtc |
111 | 111 |
112 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 112 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
OLD | NEW |