VulpesOS/gaia/dev_apps/uitest/tests_html/API/getusermedia.html
OverSu b38dea0597 Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
2026-09-30 23:13:03 +02:00

39 lines
1.7 KiB
HTML
Executable file

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gUM Test Page</title>
<script defer src="../../js/API/getusermedia.js"></script>
<link rel="stylesheet" type="text/css" href="../../style/API.css">
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
</head>
<body>
<div class="center">
Modified from <a href="http://mozilla.github.io/webrtc-landing/gum_test.html" target="_blank">gUM test page</a><br>
Note: Audio will feedback unless you use a headset!<br>
<div id="contents"></div>
<fieldset id="content_template" class="hidden">
<div data-type="media" class="block">
<div data-type="video-frame">
<video width="320" height="240"></video>
<div data-type="snapshots-frames" class="block"></div>
</div>
<audio controls="true"></audio>
</div>
<div data-type="message"></div>
<div data-type="startbuttons" class="block">
<button data-type="startVideoButton">Video</button>
<button data-type="startAudioButton">Audio</button>
<button data-type="startAudioVideoButton">Audio &amp; Video</button>
<button data-type="startDoubleRequest">Double Prompt</button>
</div>
<div data-type="stopbuttons" class="hidden">
<button data-type="stopButton">Stop</button>
<button data-type="pauseButton">Pause/Play</button>
<button data-type="snapshotButton">Snapshot</button>
</div>
</fieldset>
</div>
</body>
</html>