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 5AUTHOR = "Chrome OS Project, chromeos-video@google.com" 6NAME = "video_WebRtcPeerConnectionWithCamera" 7PURPOSE = "Check WebRTC local peer connection can be established" 8CRITERIA = "This test will fail if WebRTC peer connection not established" 9ATTRIBUTES = "suite:bvt-perbuild" 10SUITE = "bvt-perbuild" 11TIME = "MEDIUM" 12TEST_CATEGORY = "General" 13TEST_CLASS = "video" 14TEST_TYPE = "client" 15DEPENDENCIES = "webcam" 16BUG_TEMPLATE = { 17 "labels": ["OS-Chrome", "Cr-OS-Kernel-Video"], 18} 19 20DOC = """ 21This test starts a local WebRTC call with two peer connections and ensures 22we get the right width and height for the video stream. This is done by 23checking both the video tag's attributes and peer connection stats 24(using getStats). This also checks that we don't have black frames, frozen 25frames or no frames at all. 26""" 27 28job.run_test("video_WebRtcPeerConnectionWithCamera") 29