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

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

Issue 2693123002: Make Call::OnRecoveredPacket parse RTP header and call OnRtpPacket. (Closed)
Patch Set: Update fuzzer. Created 3 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
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 VideoReceiveStream::Config config, 53 VideoReceiveStream::Config config,
54 ProcessThread* process_thread, 54 ProcessThread* process_thread,
55 CallStats* call_stats); 55 CallStats* call_stats);
56 ~VideoReceiveStream() override; 56 ~VideoReceiveStream() override;
57 57
58 const Config& config() const { return config_; } 58 const Config& config() const { return config_; }
59 59
60 void SignalNetworkState(NetworkState state); 60 void SignalNetworkState(NetworkState state);
61 bool DeliverRtcp(const uint8_t* packet, size_t length); 61 bool DeliverRtcp(const uint8_t* packet, size_t length);
62 62
63 bool OnRecoveredPacket(const uint8_t* packet, size_t length);
64
65 void SetSync(Syncable* audio_syncable); 63 void SetSync(Syncable* audio_syncable);
66 64
67 // Implements webrtc::VideoReceiveStream. 65 // Implements webrtc::VideoReceiveStream.
68 void Start() override; 66 void Start() override;
69 void Stop() override; 67 void Stop() override;
70 68
71 webrtc::VideoReceiveStream::Stats GetStats() const override; 69 webrtc::VideoReceiveStream::Stats GetStats() const override;
72 70
73 // Takes ownership of the file, is responsible for closing it later. 71 // Takes ownership of the file, is responsible for closing it later.
74 // Calling this method will close and finalize any current log. 72 // Calling this method will close and finalize any current log.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 std::unique_ptr<IvfFileWriter> ivf_writer_ GUARDED_BY(ivf_writer_lock_); 133 std::unique_ptr<IvfFileWriter> ivf_writer_ GUARDED_BY(ivf_writer_lock_);
136 134
137 // Members for the new jitter buffer experiment. 135 // Members for the new jitter buffer experiment.
138 std::unique_ptr<VCMJitterEstimator> jitter_estimator_; 136 std::unique_ptr<VCMJitterEstimator> jitter_estimator_;
139 std::unique_ptr<video_coding::FrameBuffer> frame_buffer_; 137 std::unique_ptr<video_coding::FrameBuffer> frame_buffer_;
140 }; 138 };
141 } // namespace internal 139 } // namespace internal
142 } // namespace webrtc 140 } // namespace webrtc
143 141
144 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ 142 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698