| # Copyright 2017 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "kerl@google.com, chromeos-meetings@google.com" |
| NAME = "video_WebRtcMainFeedSwitching" |
| PURPOSE = "Stress WebRTC and Chrome by frequent switches of the source video" |
| CRITERIA = "Fails if Chrome crashes" |
| ATTRIBUTES = "suite:hotrod, suite:bluestreak-pre-cq" |
| TIME = "SHORT" |
| TEST_CATEGORY = "Stress" |
| TEST_CLASS = "video" |
| TEST_TYPE = "client" |
| BUG_TEMPLATE = { |
| "labels": ["OS-Chrome"], |
| "components": ["OS>Kernel>Video"], |
| } |
| JOB_RETRIES = 2 |
| |
| DOC = """ |
| This test starts 5 high resolution loopback peer connections. Four of the video |
| elements are styled to be small, thumbnail sized and one is in its native size. |
| This is intended to simulate a video conference with one main feed and several |
| smaller feeds. |
| |
| The test then frequently swaps the sourceObject of the main feed with a |
| randomly chosen smaller feed. |
| |
| The tests use a fake media stream - not a real camera. |
| """ |
| |
| job.run_test("video_WebRtcMainFeedSwitching") |
| |