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