Home | History | Annotate | Download | only in video_WebRtcResolutionSwitching
      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_WebRtcResolutionSwitching.perf"
      7 PURPOSE = "Test WebRTC by frequently switching between different resolutions"
      8 CRITERIA = "Fails if any video element gets a lower resolution than requested"
      9 ATTRIBUTES = "suite:hotrod"
     10 TIME = "MEDIUM"
     11 TEST_CATEGORY = "Performance"
     12 TEST_CLASS = "video"
     13 TEST_TYPE = "client"
     14 BUG_TEMPLATE = {
     15     "labels": ["OS-Chrome"],
     16     "components": ["OS>Kernel>Video"],
     17 }
     18 JOB_RETRIES = 2
     19 
     20 DOC = """
     21 This test starts 5 loopback peer connections, each with 4 streams with
     22 different resolutions. The test then switches randomly which of the streams are
     23 active for each connection, effectively flipping between different resolutions.
     24 
     25 The tests use a fake media stream - not a real camera.
     26 
     27 The test collects system metrics during the run. See go/cfm-perf-metrics
     28 for details about the metrics.
     29 """
     30 
     31 job.run_test(
     32         "video_WebRtcResolutionSwitching", mode = "performance", tag = "perf")
     33 
     34