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

Unified Diff: tools/perf/page_sets/webrtc_cases/audio.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, 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
« no previous file with comments | « tools/perf/page_sets/webrtc_cases/adapter.js ('k') | tools/perf/page_sets/webrtc_cases/audio.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/webrtc_cases/audio.html
diff --git a/tools/perf/page_sets/webrtc_cases/audio.html b/tools/perf/page_sets/webrtc_cases/audio.html
new file mode 100644
index 0000000000000000000000000000000000000000..035888d636c2563bb41beba601646b44c3f473f1
--- /dev/null
+++ b/tools/perf/page_sets/webrtc_cases/audio.html
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<!--
+ * Copyright 2017 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+-->
+<html>
+<head>
+
+
+ <base target="_blank">
+
+ <title>Peer connection: audio only</title>
+
+
+</head>
+
+<body>
+
+ <div id="container">
+
+ <h1><a href="//webrtc.github.io/samples/" title="WebRTC samples homepage">WebRTC samples</a> <span>Peer connection: audio only</span></h1>
+
+ <div id="audio">
+ <div>
+ <div class="label">Local audio:</div><audio id="audio1" autoplay controls muted></audio>
+ </div>
+ <div>
+ <div class="label">Remote audio:</div><audio id="audio2" autoplay controls></audio>
+ </div>
+ </div>
+
+ <div id="buttons">
+ <select id="codec">
+ <!-- Codec values are matched with how they appear in the SDP.
+ For instance, opus matches opus/48000/2 in Chrome, and ISAC/16000
+ matches 16K iSAC (but not 32K iSAC). -->
+ <option value="opus">Opus</option>
+ <option value="ISAC">iSAC 16K</option>
+ <option value="G722">G722</option>
+ <option value="PCMU">PCMU</option>
+ </select>
+ <button id="callButton">Call</button>
+ <button id="hangupButton">Hang Up</button>
+ </div>
+ <div class="graph-container" id="bitrateGraph">
+ <div>Bitrate</div>
+ <canvas id="bitrateCanvas"></canvas>
+ </div>
+ <div class="graph-container" id="packetGraph">
+ <div>Packets sent per second</div>
+ <canvas id="packetCanvas"></canvas>
+ </div>
+
+ <a href="https://github.com/webrtc/samples/tree/gh-pages/src/content/peerconnection/audio" title="View source for this page on GitHub" id="viewSource">View source on GitHub</a>
+
+ </div>
+
+
+<script src="audio.js"></script>
+<script src="adapter.js"></script>
+<script src="common.js"></script>
+</body></html>
« no previous file with comments | « tools/perf/page_sets/webrtc_cases/adapter.js ('k') | tools/perf/page_sets/webrtc_cases/audio.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698