| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 |
| 11 #include "webrtc/video/vie_channel.h" | 11 #include "webrtc/video/vie_channel.h" |
| 12 | 12 |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 #include <map> | 14 #include <map> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "webrtc/base/checks.h" | 17 #include "webrtc/base/checks.h" |
| 18 #include "webrtc/base/logging.h" | 18 #include "webrtc/base/logging.h" |
| 19 #include "webrtc/base/platform_thread.h" | 19 #include "webrtc/base/platform_thread.h" |
| 20 #include "webrtc/common_video/include/frame_callback.h" | 20 #include "webrtc/common_video/include/frame_callback.h" |
| 21 #include "webrtc/common_video/include/incoming_video_stream.h" | 21 #include "webrtc/common_video/include/incoming_video_stream.h" |
| 22 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 22 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
| 23 #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h" | 23 #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h" |
| 24 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" | 24 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" |
| 25 #include "webrtc/modules/utility/include/process_thread.h" | 25 #include "webrtc/modules/utility/include/process_thread.h" |
| 26 #include "webrtc/modules/video_coding/video_coding_impl.h" | 26 #include "webrtc/modules/video_coding/video_coding_impl.h" |
| 27 #include "webrtc/modules/video_processing/include/video_processing.h" | 27 #include "webrtc/modules/video_processing/include/video_processing.h" |
| 28 #include "webrtc/modules/video_render/video_render_defines.h" | |
| 29 #include "webrtc/system_wrappers/include/metrics.h" | 28 #include "webrtc/system_wrappers/include/metrics.h" |
| 30 #include "webrtc/video/call_stats.h" | 29 #include "webrtc/video/call_stats.h" |
| 31 #include "webrtc/video/payload_router.h" | 30 #include "webrtc/video/payload_router.h" |
| 32 #include "webrtc/video/receive_statistics_proxy.h" | 31 #include "webrtc/video/receive_statistics_proxy.h" |
| 33 | 32 |
| 34 namespace webrtc { | 33 namespace webrtc { |
| 35 | 34 |
| 36 static const int kMaxPacketAgeToNack = 450; | 35 static const int kMaxPacketAgeToNack = 450; |
| 37 static const int kMaxNackListSize = 250; | 36 static const int kMaxNackListSize = 250; |
| 38 | 37 |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 rtc::CritScope lock(&crit_); | 297 rtc::CritScope lock(&crit_); |
| 299 receive_stats_callback_ = receive_statistics_proxy; | 298 receive_stats_callback_ = receive_statistics_proxy; |
| 300 } | 299 } |
| 301 | 300 |
| 302 void ViEChannel::SetIncomingVideoStream( | 301 void ViEChannel::SetIncomingVideoStream( |
| 303 IncomingVideoStream* incoming_video_stream) { | 302 IncomingVideoStream* incoming_video_stream) { |
| 304 rtc::CritScope lock(&crit_); | 303 rtc::CritScope lock(&crit_); |
| 305 incoming_video_stream_ = incoming_video_stream; | 304 incoming_video_stream_ = incoming_video_stream; |
| 306 } | 305 } |
| 307 } // namespace webrtc | 306 } // namespace webrtc |
| OLD | NEW |