| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 void VideoReceiveStream::SignalNetworkState(NetworkState state) { | 237 void VideoReceiveStream::SignalNetworkState(NetworkState state) { |
| 238 RTC_DCHECK_RUN_ON(&worker_thread_checker_); | 238 RTC_DCHECK_RUN_ON(&worker_thread_checker_); |
| 239 rtp_stream_receiver_.SignalNetworkState(state); | 239 rtp_stream_receiver_.SignalNetworkState(state); |
| 240 } | 240 } |
| 241 | 241 |
| 242 | 242 |
| 243 bool VideoReceiveStream::DeliverRtcp(const uint8_t* packet, size_t length) { | 243 bool VideoReceiveStream::DeliverRtcp(const uint8_t* packet, size_t length) { |
| 244 return rtp_stream_receiver_.DeliverRtcp(packet, length); | 244 return rtp_stream_receiver_.DeliverRtcp(packet, length); |
| 245 } | 245 } |
| 246 | 246 |
| 247 void VideoReceiveStream::OnRtpPacket(const RtpPacketReceived& packet) { | 247 bool VideoReceiveStream::OnRtpPacketReceive(RtpPacketReceived* packet) { |
| 248 rtp_stream_receiver_.OnRtpPacket(packet); | 248 return rtp_stream_receiver_.OnRtpPacketReceive(packet); |
| 249 } | 249 } |
| 250 | 250 |
| 251 bool VideoReceiveStream::OnRecoveredPacket(const uint8_t* packet, | 251 bool VideoReceiveStream::OnRecoveredPacket(const uint8_t* packet, |
| 252 size_t length) { | 252 size_t length) { |
| 253 return rtp_stream_receiver_.OnRecoveredPacket(packet, length); | 253 return rtp_stream_receiver_.OnRecoveredPacket(packet, length); |
| 254 } | 254 } |
| 255 | 255 |
| 256 void VideoReceiveStream::SetSync(Syncable* audio_syncable) { | 256 void VideoReceiveStream::SetSync(Syncable* audio_syncable) { |
| 257 RTC_DCHECK_RUN_ON(&worker_thread_checker_); | 257 RTC_DCHECK_RUN_ON(&worker_thread_checker_); |
| 258 rtp_stream_sync_.ConfigureSync(audio_syncable); | 258 rtp_stream_sync_.ConfigureSync(audio_syncable); |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 rtp_stream_receiver_.FrameDecoded(frame->picture_id); | 485 rtp_stream_receiver_.FrameDecoded(frame->picture_id); |
| 486 } else { | 486 } else { |
| 487 LOG(LS_WARNING) << "No decodable frame in " << kMaxWaitForFrameMs | 487 LOG(LS_WARNING) << "No decodable frame in " << kMaxWaitForFrameMs |
| 488 << " ms, requesting keyframe."; | 488 << " ms, requesting keyframe."; |
| 489 RequestKeyFrame(); | 489 RequestKeyFrame(); |
| 490 } | 490 } |
| 491 return true; | 491 return true; |
| 492 } | 492 } |
| 493 } // namespace internal | 493 } // namespace internal |
| 494 } // namespace webrtc | 494 } // namespace webrtc |
| OLD | NEW |