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

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

Issue 2427733002: Revert of Add path for recovered packets from internal::Call to RtpStreamReceiver. (Closed)
Patch Set: Created 4 years, 2 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/video_receive_stream.h ('k') | no next file » | 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 bool VideoReceiveStream::DeliverRtcp(const uint8_t* packet, size_t length) { 265 bool VideoReceiveStream::DeliverRtcp(const uint8_t* packet, size_t length) {
266 return rtp_stream_receiver_.DeliverRtcp(packet, length); 266 return rtp_stream_receiver_.DeliverRtcp(packet, length);
267 } 267 }
268 268
269 bool VideoReceiveStream::DeliverRtp(const uint8_t* packet, 269 bool VideoReceiveStream::DeliverRtp(const uint8_t* packet,
270 size_t length, 270 size_t length,
271 const PacketTime& packet_time) { 271 const PacketTime& packet_time) {
272 return rtp_stream_receiver_.DeliverRtp(packet, length, packet_time); 272 return rtp_stream_receiver_.DeliverRtp(packet, length, packet_time);
273 } 273 }
274 274
275 bool VideoReceiveStream::OnRecoveredPacket(const uint8_t* packet,
276 size_t length) {
277 return rtp_stream_receiver_.OnRecoveredPacket(packet, length);
278 }
279
280 void VideoReceiveStream::Start() { 275 void VideoReceiveStream::Start() {
281 if (decode_thread_.IsRunning()) 276 if (decode_thread_.IsRunning())
282 return; 277 return;
283 transport_adapter_.Enable(); 278 transport_adapter_.Enable();
284 rtc::VideoSinkInterface<VideoFrame>* renderer = nullptr; 279 rtc::VideoSinkInterface<VideoFrame>* renderer = nullptr;
285 if (config_.renderer) { 280 if (config_.renderer) {
286 if (config_.disable_prerenderer_smoothing) { 281 if (config_.disable_prerenderer_smoothing) {
287 renderer = this; 282 renderer = this;
288 } else { 283 } else {
289 incoming_video_stream_.reset( 284 incoming_video_stream_.reset(
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 RequestKeyFrame(); 409 RequestKeyFrame();
415 } 410 }
416 } 411 }
417 412
418 void VideoReceiveStream::RequestKeyFrame() { 413 void VideoReceiveStream::RequestKeyFrame() {
419 rtp_stream_receiver_.RequestKeyFrame(); 414 rtp_stream_receiver_.RequestKeyFrame();
420 } 415 }
421 416
422 } // namespace internal 417 } // namespace internal
423 } // namespace webrtc 418 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/video_receive_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698