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