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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: tools/perf/page_sets/webrtc_cases/getusermedia.html
diff --git a/tools/perf/page_sets/webrtc_cases/getusermedia.html b/tools/perf/page_sets/webrtc_cases/getusermedia.html
new file mode 100644
index 0000000000000000000000000000000000000000..c6261a8fed24977e1c56c96c70d416ab4f931090
--- /dev/null
+++ b/tools/perf/page_sets/webrtc_cases/getusermedia.html
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<!-- saved from url=(0069)https://webrtc.github.io/samples/src/content/getusermedia/resolution/ -->
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+
+ <meta name="description" content="WebRTC code samples">
+ <meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1, maximum-scale=1">
+ <meta itemprop="description" content="Client-side WebRTC code samples">
+ <meta itemprop="image" content="../../../images/webrtc-icon-192x192.png">
+ <meta itemprop="name" content="WebRTC code samples">
+ <meta name="mobile-web-app-capable" content="yes">
+ <meta id="theme-color" name="theme-color" content="#ffffff">
+
+ <!--<base target="_blank">--><base href="." target="_blank">
+
+ <title>getUserMedia: select resolution</title>
+
+ <link rel="icon" sizes="192x192" href="https://webrtc.github.io/samples/src/images/webrtc-icon-192x192.png">
+ <link href="./getusermedia_files/css" rel="stylesheet" type="text/css">
+ <link rel="stylesheet" href="./getusermedia_files/main.css">
+
+ <style>
+ body, html {
+ height: 100%;
+ }
+
+ button {
+ margin: 0 10px 20px 0;
+ width: 90px;
+ }
+
+ div#buttons {
+ margin: 0 0 1em 0;
+ }
+
+ div#container {
+ max-width: 100%;
+ }
+
+ p#dimensions {
+ height: 1em;
+ margin: 0 0 1.5em 0;
+ }
+
+ video {
+ background: none;
+ height: auto;
+ width: auto;
+ }
+ </style>
+
+</head>
+
+<body>
+
+ <div id="container">
+
+ <h1><a href="https://webrtc.github.io/samples/" title="WebRTC samples homepage">WebRTC samples</a> <span>getUserMedia: select resolution</span></h1>
+ <p></p>
+
+ <p>This example uses <a href="https://w3c.github.io/mediacapture-main/getusermedia.html#media-track-constraints" title="W3C getusermedia specification - constraints section">constraints</a>.</p>
+
+ <p>Click a button to call <code>getUserMedia()</code> with appropriate resolution.</p>
+
+ <div id="buttons">
+ <button id="qvga">QVGA</button>
+ <button id="vga">VGA</button>
+ <button id="hd">HD</button>
+ <button id="full-hd">Full HD</button>
+ </div>
+
+ <p id="dimensions"></p>
+
+ <video id="gum-res-local" autoplay=""></video>
+
+ <p>For more information, see <a href="http://www.html5rocks.com/en/tutorials/getusermedia/intro/" title="Media capture article by Eric Bidelman on HTML5 Rocks">Capturing Audio &amp; Video in HTML5</a> on HTML5 Rocks.</p>
+
+ <a href="https://github.com/webrtc/samples/tree/gh-pages/src/content/getusermedia/resolution" title="View source for this page on GitHub" id="viewSource">View source on GitHub</a>
+ </div>
+
+ <script async="" src="./getusermedia_files/analytics.js"></script><script src="./getusermedia_files/adapter-latest.js"></script>
+ <script src="./getusermedia_files/common.js"></script>
+ <script src="./getusermedia_files/main.js"></script>
+
+ <script src="./getusermedia_files/ga.js"></script>
+
+
+
+</body></html>

Powered by Google App Engine
This is Rietveld 408576698