electron/spec/fixtures/pages/permissions/media.html
2016-01-30 19:10:52 +05:30

7 lines
201 B
HTML

<script>
navigator.webkitGetUserMedia({ audio: true, video: true }, function(mediaStream) {
}, function(err) {
require('electron').ipcRenderer.sendToHost('message', err.name);
});
</script>