1 # Copyright 2015 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 = "Chrome OS Project, chromeos-video (a] google.com" 6 NAME = "video_WebRtcPeerConnectionWithCamera.vp8" 7 PURPOSE = "Ensure WebRTC call gets up and produces healthy video" 8 CRITERIA = "Fails if the call doesn't even get up." 9 ATTRIBUTES = "suite:av_webcam" 10 TIME = "MEDIUM" 11 TEST_CATEGORY = "Performance" 12 TEST_CLASS = "video" 13 TEST_TYPE = "client" 14 DEPENDENCIES = "webcam" 15 BUG_TEMPLATE = { 16 "labels": ["OS-Chrome"], 17 "components": ["OS>Kernel>Video"], 18 } 19 20 DOC = """ 21 This test starts a loopback WebRTC call with two peer connections 22 and ensures it successfully establishes the call (otherwise the test 23 will simply fail). If successful, it looks at the video frames coming 24 out on the receiving side of the call and looks for freezes and black 25 frames. If this test shows black frames and video_WebRtcCamera does not, 26 it could mean video isn't encoded/decoded right on this device but that 27 the camera works. Finally, input and output FPS are logged. 28 29 Black frames/freezes/fps are reported to the perf dashboard and 30 must be monitored there. 31 """ 32 33 job.run_test("video_WebRtcPeerConnectionWithCamera", 34 video_codec="VP8") 35