| 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> |
| 11 #include <list> | 11 #include <list> |
| 12 #include <map> | 12 #include <map> |
| 13 #include <memory> | 13 #include <memory> |
| 14 #include <sstream> | 14 #include <sstream> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "webrtc/api/video_codecs/video_encoder.h" | |
| 19 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
| 20 #include "webrtc/base/event.h" | 19 #include "webrtc/base/event.h" |
| 21 #include "webrtc/base/file.h" | 20 #include "webrtc/base/file.h" |
| 22 #include "webrtc/base/optional.h" | 21 #include "webrtc/base/optional.h" |
| 23 #include "webrtc/base/random.h" | 22 #include "webrtc/base/random.h" |
| 24 #include "webrtc/base/rate_limiter.h" | 23 #include "webrtc/base/rate_limiter.h" |
| 25 #include "webrtc/call/call.h" | 24 #include "webrtc/call/call.h" |
| 26 #include "webrtc/common_video/include/frame_callback.h" | 25 #include "webrtc/common_video/include/frame_callback.h" |
| 27 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" | 26 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" |
| 28 #include "webrtc/media/base/fakevideorenderer.h" | 27 #include "webrtc/media/base/fakevideorenderer.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 48 #include "webrtc/test/frame_generator.h" | 47 #include "webrtc/test/frame_generator.h" |
| 49 #include "webrtc/test/frame_generator_capturer.h" | 48 #include "webrtc/test/frame_generator_capturer.h" |
| 50 #include "webrtc/test/gtest.h" | 49 #include "webrtc/test/gtest.h" |
| 51 #include "webrtc/test/gmock.h" | 50 #include "webrtc/test/gmock.h" |
| 52 #include "webrtc/test/null_transport.h" | 51 #include "webrtc/test/null_transport.h" |
| 53 #include "webrtc/test/rtcp_packet_parser.h" | 52 #include "webrtc/test/rtcp_packet_parser.h" |
| 54 #include "webrtc/test/rtp_rtcp_observer.h" | 53 #include "webrtc/test/rtp_rtcp_observer.h" |
| 55 #include "webrtc/test/testsupport/fileutils.h" | 54 #include "webrtc/test/testsupport/fileutils.h" |
| 56 #include "webrtc/test/testsupport/perf_test.h" | 55 #include "webrtc/test/testsupport/perf_test.h" |
| 57 #include "webrtc/video/transport_adapter.h" | 56 #include "webrtc/video/transport_adapter.h" |
| 57 #include "webrtc/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 |