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 5 AUTHOR = "kerl (a] google.com, chromeos-meetings (a] google.com" 6 NAME = "video_WebRtcMainFeedSwitching" 7 PURPOSE = "Stress WebRTC and Chrome by frequent switches of the source video" 8 CRITERIA = "Fails if Chrome crashes" 9 ATTRIBUTES = ("suite:hotrod, suite:bluestreak, suite:bluestreak-release, " 10 "suite:bluestreak-perbuild, suite:bluestreak-pre-cq") 11 TIME = "SHORT" 12 TEST_CATEGORY = "Stress" 13 TEST_CLASS = "video" 14 TEST_TYPE = "client" 15 BUG_TEMPLATE = { 16 "labels": ["OS-Chrome"], 17 "components": ["OS>Kernel>Video"], 18 } 19 20 DOC = """ 21 This test starts 5 high resolution loopback peer connections. Four of the video 22 elements are styled to be small, thumbnail sized and one is in its native size. 23 This is intended to simulate a video conference with one main feed and several 24 smaller feeds. 25 26 The test then frequently swaps the sourceObject of the main feed with a 27 randomly chosen smaller feed. 28 29 The tests use a fake media stream - not a real camera. 30 """ 31 32 job.run_test("video_WebRtcMainFeedSwitching") 33 34