Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: webrtc/video/video_receive_stream.h

Issue 1947913002: Move, almost, all receive side references to RTP to RtpStreamReceiver. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed comments in PS#4 Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/video/rtp_stream_receiver.cc ('k') | webrtc/video/video_receive_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
73 73
74 // Overrides EncodedImageCallback. 74 // Overrides EncodedImageCallback.
75 int32_t Encoded(const EncodedImage& encoded_image, 75 int32_t Encoded(const EncodedImage& encoded_image,
76 const CodecSpecificInfo* codec_specific_info, 76 const CodecSpecificInfo* codec_specific_info,
77 const RTPFragmentationHeader* fragmentation) override; 77 const RTPFragmentationHeader* fragmentation) override;
78 78
79 const Config& config() const { return config_; } 79 const Config& config() const { return config_; }
80 80
81 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id); 81 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id);
82 82
83 // NackSender 83 // Implements NackSender.
84 void SendNack(const std::vector<uint16_t>& sequence_numbers) override; 84 void SendNack(const std::vector<uint16_t>& sequence_numbers) override;
85 85
86 // KeyFrameRequestSender 86 // Implements KeyFrameRequestSender.
87 void RequestKeyFrame() override; 87 void RequestKeyFrame() override;
88 88
89 private: 89 private:
90 static bool DecodeThreadFunction(void* ptr); 90 static bool DecodeThreadFunction(void* ptr);
91 void Decode(); 91 void Decode();
92 92
93 TransportAdapter transport_adapter_; 93 TransportAdapter transport_adapter_;
94 EncodedFrameCallbackAdapter encoded_frame_proxy_; 94 EncodedFrameCallbackAdapter encoded_frame_proxy_;
95 const VideoReceiveStream::Config config_; 95 const VideoReceiveStream::Config config_;
96 ProcessThread* const process_thread_; 96 ProcessThread* const process_thread_;
97 Clock* const clock_; 97 Clock* const clock_;
98 98
99 rtc::PlatformThread decode_thread_; 99 rtc::PlatformThread decode_thread_;
100 100
101 CongestionController* const congestion_controller_; 101 CongestionController* const congestion_controller_;
102 CallStats* const call_stats_; 102 CallStats* const call_stats_;
103 VieRemb* const remb_;
104 103
105 vcm::VideoReceiver video_receiver_; 104 vcm::VideoReceiver video_receiver_;
106 IncomingVideoStream incoming_video_stream_; 105 IncomingVideoStream incoming_video_stream_;
107 ReceiveStatisticsProxy stats_proxy_; 106 ReceiveStatisticsProxy stats_proxy_;
108 RtpStreamReceiver rtp_stream_receiver_; 107 RtpStreamReceiver rtp_stream_receiver_;
109 VideoStreamDecoder video_stream_decoder_; 108 VideoStreamDecoder video_stream_decoder_;
110 ViESyncModule vie_sync_; 109 ViESyncModule vie_sync_;
111 RtpRtcp* const rtp_rtcp_;
112 110
113 std::unique_ptr<IvfFileWriter> ivf_writer_; 111 std::unique_ptr<IvfFileWriter> ivf_writer_;
114 }; 112 };
115 } // namespace internal 113 } // namespace internal
116 } // namespace webrtc 114 } // namespace webrtc
117 115
118 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ 116 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/video/rtp_stream_receiver.cc ('k') | webrtc/video/video_receive_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698