OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 <string> | 11 #include <string> |
12 | 12 |
13 #include <list> | 13 #include <list> |
14 #include <memory> | 14 #include <memory> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/base/location.h" | |
18 #include "webrtc/common_video/h264/h264_common.h" | 17 #include "webrtc/common_video/h264/h264_common.h" |
19 #include "webrtc/modules/video_coding/frame_buffer.h" | 18 #include "webrtc/modules/video_coding/frame_buffer.h" |
20 #include "webrtc/modules/video_coding/jitter_buffer.h" | 19 #include "webrtc/modules/video_coding/jitter_buffer.h" |
21 #include "webrtc/modules/video_coding/media_opt_util.h" | 20 #include "webrtc/modules/video_coding/media_opt_util.h" |
22 #include "webrtc/modules/video_coding/packet.h" | 21 #include "webrtc/modules/video_coding/packet.h" |
23 #include "webrtc/modules/video_coding/test/stream_generator.h" | 22 #include "webrtc/modules/video_coding/test/stream_generator.h" |
24 #include "webrtc/modules/video_coding/test/test_util.h" | 23 #include "webrtc/modules/video_coding/test/test_util.h" |
| 24 #include "webrtc/rtc_base/location.h" |
25 #include "webrtc/system_wrappers/include/clock.h" | 25 #include "webrtc/system_wrappers/include/clock.h" |
26 #include "webrtc/system_wrappers/include/field_trial.h" | 26 #include "webrtc/system_wrappers/include/field_trial.h" |
27 #include "webrtc/system_wrappers/include/metrics.h" | 27 #include "webrtc/system_wrappers/include/metrics.h" |
28 #include "webrtc/system_wrappers/include/metrics_default.h" | 28 #include "webrtc/system_wrappers/include/metrics_default.h" |
29 #include "webrtc/test/field_trial.h" | 29 #include "webrtc/test/field_trial.h" |
30 #include "webrtc/test/gmock.h" | 30 #include "webrtc/test/gmock.h" |
31 #include "webrtc/test/gtest.h" | 31 #include "webrtc/test/gtest.h" |
32 | 32 |
33 namespace webrtc { | 33 namespace webrtc { |
34 | 34 |
(...skipping 2678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2713 EXPECT_EQ(0u, nack_list.size()); | 2713 EXPECT_EQ(0u, nack_list.size()); |
2714 | 2714 |
2715 // Stream should be decodable from this point. | 2715 // Stream should be decodable from this point. |
2716 clock_->AdvanceTimeMilliseconds(kDefaultFramePeriodMs); | 2716 clock_->AdvanceTimeMilliseconds(kDefaultFramePeriodMs); |
2717 InsertFrame(kVideoFrameDelta); | 2717 InsertFrame(kVideoFrameDelta); |
2718 EXPECT_TRUE(DecodeCompleteFrame()); | 2718 EXPECT_TRUE(DecodeCompleteFrame()); |
2719 nack_list = jitter_buffer_->GetNackList(&extended); | 2719 nack_list = jitter_buffer_->GetNackList(&extended); |
2720 EXPECT_EQ(0u, nack_list.size()); | 2720 EXPECT_EQ(0u, nack_list.size()); |
2721 } | 2721 } |
2722 } // namespace webrtc | 2722 } // namespace webrtc |
OLD | NEW |