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

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

Issue 2470913004: Moved transport_adapter.h/.cc from call/ to video/ dir to remove circular dependency (Closed)
Patch Set: Fixed header guards. Created 4 years, 1 month 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
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
11 #include "webrtc/video/video_receive_stream.h"
12 11
13 #include <stdlib.h> 12 #include <stdlib.h>
14 13
15 #include <set> 14 #include <set>
16 #include <string> 15 #include <string>
17 #include <utility> 16 #include <utility>
18 17
19 #include "webrtc/base/checks.h" 18 #include "webrtc/base/checks.h"
20 #include "webrtc/base/logging.h" 19 #include "webrtc/base/logging.h"
21 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
22 #include "webrtc/modules/congestion_controller/include/congestion_controller.h" 21 #include "webrtc/modules/congestion_controller/include/congestion_controller.h"
23 #include "webrtc/modules/utility/include/process_thread.h" 22 #include "webrtc/modules/utility/include/process_thread.h"
24 #include "webrtc/modules/video_coding/include/video_coding.h" 23 #include "webrtc/modules/video_coding/include/video_coding.h"
25 #include "webrtc/modules/video_coding/utility/ivf_file_writer.h" 24 #include "webrtc/modules/video_coding/utility/ivf_file_writer.h"
26 #include "webrtc/system_wrappers/include/clock.h" 25 #include "webrtc/system_wrappers/include/clock.h"
27 #include "webrtc/video/call_stats.h" 26 #include "webrtc/video/call_stats.h"
28 #include "webrtc/video/receive_statistics_proxy.h" 27 #include "webrtc/video/receive_statistics_proxy.h"
29 #include "webrtc/video_receive_stream.h" 28 #include "webrtc/video_receive_stream.h"
29 #include "webrtc/video/video_receive_stream.h"
stefan-webrtc 2016/11/03 09:30:29 Move back to the top.
30 #include "webrtc/voice_engine/include/voe_video_sync.h" 30 #include "webrtc/voice_engine/include/voe_video_sync.h"
31 31
32 namespace webrtc { 32 namespace webrtc {
33 33
34 static bool UseSendSideBwe(const VideoReceiveStream::Config& config) { 34 static bool UseSendSideBwe(const VideoReceiveStream::Config& config) {
35 if (!config.rtp.transport_cc) 35 if (!config.rtp.transport_cc)
36 return false; 36 return false;
37 for (const auto& extension : config.rtp.extensions) { 37 for (const auto& extension : config.rtp.extensions) {
38 if (extension.uri == RtpExtension::kTransportSequenceNumberUri) 38 if (extension.uri == RtpExtension::kTransportSequenceNumberUri)
39 return true; 39 return true;
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 RequestKeyFrame(); 422 RequestKeyFrame();
423 } 423 }
424 } 424 }
425 425
426 void VideoReceiveStream::RequestKeyFrame() { 426 void VideoReceiveStream::RequestKeyFrame() {
427 rtp_stream_receiver_.RequestKeyFrame(); 427 rtp_stream_receiver_.RequestKeyFrame();
428 } 428 }
429 429
430 } // namespace internal 430 } // namespace internal
431 } // namespace webrtc 431 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698