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

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

Issue 2761163003: Use local pages for webrtc telemetry tests. (Closed)
Patch Set: Created 3 years, 9 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 <!-- saved from url=(0069)https://webrtc.github.io/samples/src/content/getuserme dia/resolution/ -->
3 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4
5
6 <meta name="description" content="WebRTC code samples">
7 <meta name="viewport" content="width=device-width, user-scalable=yes, initial- scale=1, maximum-scale=1">
8 <meta itemprop="description" content="Client-side WebRTC code samples">
9 <meta itemprop="image" content="../../../images/webrtc-icon-192x192.png">
10 <meta itemprop="name" content="WebRTC code samples">
11 <meta name="mobile-web-app-capable" content="yes">
12 <meta id="theme-color" name="theme-color" content="#ffffff">
13
14 <!--<base target="_blank">--><base href="." target="_blank">
15
16 <title>getUserMedia: select resolution</title>
17
18 <link rel="icon" sizes="192x192" href="https://webrtc.github.io/samples/src/im ages/webrtc-icon-192x192.png">
19 <link href="./getusermedia_files/css" rel="stylesheet" type="text/css">
20 <link rel="stylesheet" href="./getusermedia_files/main.css">
21
22 <style>
23 body, html {
24 height: 100%;
25 }
26
27 button {
28 margin: 0 10px 20px 0;
29 width: 90px;
30 }
31
32 div#buttons {
33 margin: 0 0 1em 0;
34 }
35
36 div#container {
37 max-width: 100%;
38 }
39
40 p#dimensions {
41 height: 1em;
42 margin: 0 0 1.5em 0;
43 }
44
45 video {
46 background: none;
47 height: auto;
48 width: auto;
49 }
50 </style>
51
52 </head>
53
54 <body>
55
56 <div id="container">
57
58 <h1><a href="https://webrtc.github.io/samples/" title="WebRTC samples homepa ge">WebRTC samples</a> <span>getUserMedia: select resolution</span></h1>
59 <p></p>
60
61 <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>
62
63 <p>Click a button to call <code>getUserMedia()</code> with appropriate resol ution.</p>
64
65 <div id="buttons">
66 <button id="qvga">QVGA</button>
67 <button id="vga">VGA</button>
68 <button id="hd">HD</button>
69 <button id="full-hd">Full HD</button>
70 </div>
71
72 <p id="dimensions"></p>
73
74 <video id="gum-res-local" autoplay=""></video>
75
76 <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>
77
78 <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>
79 </div>
80
81 <script async="" src="./getusermedia_files/analytics.js"></script><script src= "./getusermedia_files/adapter-latest.js"></script>
82 <script src="./getusermedia_files/common.js"></script>
83 <script src="./getusermedia_files/main.js"></script>
84
85 <script src="./getusermedia_files/ga.js"></script>
86
87
88
89 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698