Sign in
webkit
/
WebKit
/
c76c58243e3b15757ea8668f43536a601f3d5c6f
/
.
/
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>