Sign in
webkit
/
WebKit
/
6ac1ae7345a9a50f3760d4fdf5f8c6512c4a9901
/
.
/
LayoutTests
/
http
/
tests
/
webrtc
/
resources
/
do-get-user-media.html
blob: f275f0f676125fdfd1661709d2f4b52f1a7c9ce9 [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<html>
<body>
<script>
navigator
.
mediaDevices
.
getUserMedia
({
audio
:
true
,
video
:
true
}).
then
(()
=>
{
parent
.
postMessage
(
"getUserMedia done"
,
"*"
);
});
</script>
<div>
Calling getUserMedia, please grant access
</div>
</body>
</html>