1# Copyright 2017 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "kerl@google.com, chromeos-meetings@google.com"
6NAME = "video_WebRtcMainFeedSwitching"
7PURPOSE = "Stress WebRTC and Chrome by frequent switches of the source video"
8CRITERIA = "Fails if Chrome crashes"
9ATTRIBUTES = "suite:hotrod"
10TIME = "SHORT"
11TEST_CATEGORY = "Stress"
12TEST_CLASS = "video"
13TEST_TYPE = "client"
14BUG_TEMPLATE = {
15    "labels": ["OS-Chrome"],
16    "components": ["OS>Kernel>Video"],
17}
18JOB_RETRIES = 2
19
20DOC = """
21This test starts 5 high resolution loopback peer connections. Four of the video
22elements are styled to be small, thumbnail sized and one is in its native size.
23This is intended to simulate a video conference with one main feed and several
24smaller feeds.
25
26The test then frequently swaps the sourceObject of the main feed with a
27randomly chosen smaller feed.
28
29The tests use a fake media stream - not a real camera.
30"""
31
32job.run_test("video_WebRtcMainFeedSwitching")
33
34