Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: tools/perf/page_sets/webrtc_cases/resolution.html

Issue 2761163003: Use local pages for webrtc telemetry tests. (Closed)
Patch Set: Exclude all of webrtc_cases in PRESUBMIT.py and add a comment explaining it is because these are te… Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!--
3 * Copyright 2017 The Chromium Authors. All rights reserved.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 -->
7 <html>
8 <head>
9
10
11 <base target="_blank">
12
13 <title>getUserMedia: select resolution</title>
14
15
16 <style>
17 body, html {
18 height: 100%;
19 }
20
21 button {
22 margin: 0 10px 20px 0;
23 width: 90px;
24 }
25
26 div#buttons {
27 margin: 0 0 1em 0;
28 }
29
30 div#container {
31 max-width: 100%;
32 }
33
34 p#dimensions {
35 height: 1em;
36 margin: 0 0 1.5em 0;
37 }
38
39 video {
40 background: none;
41 height: auto;
42 width: auto;
43 }
44 </style>
45
46 </head>
47
48 <body>
49
50 <div id="container">
51
52 <h1><a href="//webrtc.github.io/samples/" title="WebRTC samples homepage">We bRTC samples</a> <span>getUserMedia: select resolution</span></h1>
53 <p></p>
54
55 <p>This example uses <a href="https://w3c.github.io/mediacapture-main/getuse rmedia.html#media-track-constraints" title="W3C getusermedia specification - con straints section">constraints</a>.</p>
56
57 <p>Click a button to call <code>getUserMedia()</code> with appropriate resol ution.</p>
58
59 <div id="buttons">
60 <button id="qvga">QVGA</button>
61 <button id="vga">VGA</button>
62 <button id="hd">HD</button>
63 <button id="full-hd">Full HD</button>
64 </div>
65
66 <p id="dimensions"></p>
67
68 <video id="gum-res-local" autoplay></video>
69
70 <p>For more information, see <a href="http://www.html5rocks.com/en/tutorials /getusermedia/intro/" title="Media capture article by Eric Bidelman on HTML5 Roc ks">Capturing Audio &amp; Video in HTML5</a> on HTML5 Rocks.</p>
71
72 <a href="https://github.com/webrtc/samples/tree/gh-pages/src/content/getuser media/resolution" title="View source for this page on GitHub" id="viewSource">Vi ew source on GitHub</a>
73 </div>
74
75
76
77 <script src="resolution.js"></script>
78 <script src="adapter.js"></script>
79 <script src="common.js"></script>
80 </body></html>
OLDNEW
« no previous file with comments | « tools/perf/page_sets/webrtc_cases/multiple-peerconnections.js ('k') | tools/perf/page_sets/webrtc_cases/resolution.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698