OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 <algorithm> | 11 #include <algorithm> |
12 #include <map> | 12 #include <map> |
13 #include <memory> | 13 #include <memory> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "webrtc/api/video_codecs/video_encoder.h" | 16 #include "webrtc/api/video_codecs/video_encoder.h" |
17 #include "webrtc/base/arraysize.h" | |
18 #include "webrtc/base/gunit.h" | |
19 #include "webrtc/base/stringutils.h" | |
20 #include "webrtc/call/flexfec_receive_stream.h" | 17 #include "webrtc/call/flexfec_receive_stream.h" |
21 #include "webrtc/common_video/h264/profile_level_id.h" | 18 #include "webrtc/common_video/h264/profile_level_id.h" |
22 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" | 19 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" |
23 #include "webrtc/media/base/mediaconstants.h" | 20 #include "webrtc/media/base/mediaconstants.h" |
24 #include "webrtc/media/base/rtputils.h" | 21 #include "webrtc/media/base/rtputils.h" |
25 #include "webrtc/media/base/testutils.h" | 22 #include "webrtc/media/base/testutils.h" |
26 #include "webrtc/media/base/videoengine_unittest.h" | 23 #include "webrtc/media/base/videoengine_unittest.h" |
27 #include "webrtc/media/engine/constants.h" | 24 #include "webrtc/media/engine/constants.h" |
28 #include "webrtc/media/engine/fakewebrtccall.h" | 25 #include "webrtc/media/engine/fakewebrtccall.h" |
29 #include "webrtc/media/engine/fakewebrtcvideoengine.h" | 26 #include "webrtc/media/engine/fakewebrtcvideoengine.h" |
30 #include "webrtc/media/engine/simulcast.h" | 27 #include "webrtc/media/engine/simulcast.h" |
31 #include "webrtc/media/engine/webrtcvideoengine.h" | 28 #include "webrtc/media/engine/webrtcvideoengine.h" |
32 #include "webrtc/media/engine/webrtcvoiceengine.h" | 29 #include "webrtc/media/engine/webrtcvoiceengine.h" |
| 30 #include "webrtc/rtc_base/arraysize.h" |
| 31 #include "webrtc/rtc_base/gunit.h" |
| 32 #include "webrtc/rtc_base/stringutils.h" |
33 #include "webrtc/test/field_trial.h" | 33 #include "webrtc/test/field_trial.h" |
34 | 34 |
35 using webrtc::RtpExtension; | 35 using webrtc::RtpExtension; |
36 | 36 |
37 namespace { | 37 namespace { |
38 static const int kDefaultQpMax = 56; | 38 static const int kDefaultQpMax = 56; |
39 | 39 |
40 static const uint8_t kRedRtxPayloadType = 125; | 40 static const uint8_t kRedRtxPayloadType = 125; |
41 | 41 |
42 static const uint32_t kSsrcs1[] = {1}; | 42 static const uint32_t kSsrcs1[] = {1}; |
(...skipping 4638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4681 | 4681 |
4682 TEST_F(WebRtcVideoChannelSimulcastTest, | 4682 TEST_F(WebRtcVideoChannelSimulcastTest, |
4683 NoSimulcastScreenshareWithoutConference) { | 4683 NoSimulcastScreenshareWithoutConference) { |
4684 webrtc::test::ScopedFieldTrials override_field_trials_( | 4684 webrtc::test::ScopedFieldTrials override_field_trials_( |
4685 "WebRTC-SimulcastScreenshare/Enabled/"); | 4685 "WebRTC-SimulcastScreenshare/Enabled/"); |
4686 VerifySimulcastSettings(cricket::VideoCodec("VP8"), 1280, 720, 3, 1, true, | 4686 VerifySimulcastSettings(cricket::VideoCodec("VP8"), 1280, 720, 3, 1, true, |
4687 false); | 4687 false); |
4688 } | 4688 } |
4689 | 4689 |
4690 } // namespace cricket | 4690 } // namespace cricket |
OLD | NEW |