| 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 } | 278 } |
| 279 | 279 |
| 280 bool VideoReceiveStream::DeliverRtp(const uint8_t* packet, | 280 bool VideoReceiveStream::DeliverRtp(const uint8_t* packet, |
| 281 size_t length, | 281 size_t length, |
| 282 const PacketTime& packet_time) { | 282 const PacketTime& packet_time) { |
| 283 return rtp_stream_receiver_.DeliverRtp(packet, length, packet_time); | 283 return rtp_stream_receiver_.DeliverRtp(packet, length, packet_time); |
| 284 } | 284 } |
| 285 | 285 |
| 286 bool VideoReceiveStream::OnRecoveredPacket(const uint8_t* packet, | 286 bool VideoReceiveStream::OnRecoveredPacket(const uint8_t* packet, |
| 287 size_t length) { | 287 size_t length) { |
| 288 RTC_DCHECK_RUN_ON(&worker_thread_checker_); | |
| 289 return rtp_stream_receiver_.OnRecoveredPacket(packet, length); | 288 return rtp_stream_receiver_.OnRecoveredPacket(packet, length); |
| 290 } | 289 } |
| 291 | 290 |
| 292 void VideoReceiveStream::SetSync(Syncable* audio_syncable) { | 291 void VideoReceiveStream::SetSync(Syncable* audio_syncable) { |
| 293 RTC_DCHECK_RUN_ON(&worker_thread_checker_); | 292 RTC_DCHECK_RUN_ON(&worker_thread_checker_); |
| 294 rtp_stream_sync_.ConfigureSync(audio_syncable); | 293 rtp_stream_sync_.ConfigureSync(audio_syncable); |
| 295 } | 294 } |
| 296 | 295 |
| 297 void VideoReceiveStream::Start() { | 296 void VideoReceiveStream::Start() { |
| 298 RTC_DCHECK_RUN_ON(&worker_thread_checker_); | 297 RTC_DCHECK_RUN_ON(&worker_thread_checker_); |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 LOG(LS_WARNING) << "No decodable frame in " << kMaxWaitForFrameMs | 526 LOG(LS_WARNING) << "No decodable frame in " << kMaxWaitForFrameMs |
| 528 << " ms, requesting keyframe."; | 527 << " ms, requesting keyframe."; |
| 529 RequestKeyFrame(); | 528 RequestKeyFrame(); |
| 530 } | 529 } |
| 531 } else { | 530 } else { |
| 532 video_receiver_.Decode(kMaxDecodeWaitTimeMs); | 531 video_receiver_.Decode(kMaxDecodeWaitTimeMs); |
| 533 } | 532 } |
| 534 } | 533 } |
| 535 } // namespace internal | 534 } // namespace internal |
| 536 } // namespace webrtc | 535 } // namespace webrtc |
| OLD | NEW |