| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| 275 void VideoReceiveStream::Start() { | 280 void VideoReceiveStream::Start() { |
| 276 if (decode_thread_.IsRunning()) | 281 if (decode_thread_.IsRunning()) |
| 277 return; | 282 return; |
| 278 transport_adapter_.Enable(); | 283 transport_adapter_.Enable(); |
| 279 rtc::VideoSinkInterface<VideoFrame>* renderer = nullptr; | 284 rtc::VideoSinkInterface<VideoFrame>* renderer = nullptr; |
| 280 if (config_.renderer) { | 285 if (config_.renderer) { |
| 281 if (config_.disable_prerenderer_smoothing) { | 286 if (config_.disable_prerenderer_smoothing) { |
| 282 renderer = this; | 287 renderer = this; |
| 283 } else { | 288 } else { |
| 284 incoming_video_stream_.reset( | 289 incoming_video_stream_.reset( |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 RequestKeyFrame(); | 414 RequestKeyFrame(); |
| 410 } | 415 } |
| 411 } | 416 } |
| 412 | 417 |
| 413 void VideoReceiveStream::RequestKeyFrame() { | 418 void VideoReceiveStream::RequestKeyFrame() { |
| 414 rtp_stream_receiver_.RequestKeyFrame(); | 419 rtp_stream_receiver_.RequestKeyFrame(); |
| 415 } | 420 } |
| 416 | 421 |
| 417 } // namespace internal | 422 } // namespace internal |
| 418 } // namespace webrtc | 423 } // namespace webrtc |
| OLD | NEW |