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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // webrtc::VideoReceiveStream implementation. | 60 // webrtc::VideoReceiveStream implementation. |
61 void Start() override; | 61 void Start() override; |
62 void Stop() override; | 62 void Stop() override; |
63 | 63 |
64 webrtc::VideoReceiveStream::Stats GetStats() const override; | 64 webrtc::VideoReceiveStream::Stats GetStats() const override; |
65 | 65 |
66 // Overrides rtc::VideoSinkInterface<VideoFrame>. | 66 // Overrides rtc::VideoSinkInterface<VideoFrame>. |
67 void OnFrame(const VideoFrame& video_frame) override; | 67 void OnFrame(const VideoFrame& video_frame) override; |
68 | 68 |
69 // Overrides EncodedImageCallback. | 69 // Overrides EncodedImageCallback. |
70 EncodedImageCallback::Result OnEncodedImage( | 70 int32_t Encoded(const EncodedImage& encoded_image, |
71 const EncodedImage& encoded_image, | 71 const CodecSpecificInfo* codec_specific_info, |
72 const CodecSpecificInfo* codec_specific_info, | 72 const RTPFragmentationHeader* fragmentation) override; |
73 const RTPFragmentationHeader* fragmentation) override; | |
74 | 73 |
75 const Config& config() const { return config_; } | 74 const Config& config() const { return config_; } |
76 | 75 |
77 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id); | 76 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id); |
78 | 77 |
79 // Implements NackSender. | 78 // Implements NackSender. |
80 void SendNack(const std::vector<uint16_t>& sequence_numbers) override; | 79 void SendNack(const std::vector<uint16_t>& sequence_numbers) override; |
81 | 80 |
82 // Implements KeyFrameRequestSender. | 81 // Implements KeyFrameRequestSender. |
83 void RequestKeyFrame() override; | 82 void RequestKeyFrame() override; |
(...skipping 18 matching lines...) Expand all Loading... |
102 RtpStreamReceiver rtp_stream_receiver_; | 101 RtpStreamReceiver rtp_stream_receiver_; |
103 std::unique_ptr<VideoStreamDecoder> video_stream_decoder_; | 102 std::unique_ptr<VideoStreamDecoder> video_stream_decoder_; |
104 ViESyncModule vie_sync_; | 103 ViESyncModule vie_sync_; |
105 | 104 |
106 std::unique_ptr<IvfFileWriter> ivf_writer_; | 105 std::unique_ptr<IvfFileWriter> ivf_writer_; |
107 }; | 106 }; |
108 } // namespace internal | 107 } // namespace internal |
109 } // namespace webrtc | 108 } // namespace webrtc |
110 | 109 |
111 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 110 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
OLD | NEW |