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 #include <algorithm> | 10 #include <algorithm> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "webrtc/test/frame_generator.h" | 47 #include "webrtc/test/frame_generator.h" |
48 #include "webrtc/test/frame_generator_capturer.h" | 48 #include "webrtc/test/frame_generator_capturer.h" |
49 #include "webrtc/test/gtest.h" | 49 #include "webrtc/test/gtest.h" |
50 #include "webrtc/test/gmock.h" | 50 #include "webrtc/test/gmock.h" |
51 #include "webrtc/test/null_transport.h" | 51 #include "webrtc/test/null_transport.h" |
52 #include "webrtc/test/rtcp_packet_parser.h" | 52 #include "webrtc/test/rtcp_packet_parser.h" |
53 #include "webrtc/test/rtp_rtcp_observer.h" | 53 #include "webrtc/test/rtp_rtcp_observer.h" |
54 #include "webrtc/test/testsupport/fileutils.h" | 54 #include "webrtc/test/testsupport/fileutils.h" |
55 #include "webrtc/test/testsupport/perf_test.h" | 55 #include "webrtc/test/testsupport/perf_test.h" |
56 #include "webrtc/video/transport_adapter.h" | 56 #include "webrtc/video/transport_adapter.h" |
57 #include "webrtc/video_encoder.h" | 57 #include "webrtc/api/video_encoder.h" |
58 | 58 |
59 namespace webrtc { | 59 namespace webrtc { |
60 | 60 |
61 static const int kSilenceTimeoutMs = 2000; | 61 static const int kSilenceTimeoutMs = 2000; |
62 | 62 |
63 class EndToEndTest : public test::CallTest { | 63 class EndToEndTest : public test::CallTest { |
64 public: | 64 public: |
65 EndToEndTest() {} | 65 EndToEndTest() {} |
66 | 66 |
67 virtual ~EndToEndTest() { | 67 virtual ~EndToEndTest() { |
(...skipping 4236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4304 std::unique_ptr<VideoEncoder> encoder_; | 4304 std::unique_ptr<VideoEncoder> encoder_; |
4305 std::unique_ptr<VideoDecoder> decoder_; | 4305 std::unique_ptr<VideoDecoder> decoder_; |
4306 rtc::CriticalSection crit_; | 4306 rtc::CriticalSection crit_; |
4307 int recorded_frames_ GUARDED_BY(crit_); | 4307 int recorded_frames_ GUARDED_BY(crit_); |
4308 } test(this); | 4308 } test(this); |
4309 | 4309 |
4310 RunBaseTest(&test); | 4310 RunBaseTest(&test); |
4311 } | 4311 } |
4312 | 4312 |
4313 } // namespace webrtc | 4313 } // namespace webrtc |
OLD | NEW |