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

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

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

Powered by Google App Engine
This is Rietveld 408576698