REORG
This commit is contained in:
parent
8d68ee380a
commit
45514010f2
3505 changed files with 154 additions and 523 deletions
|
|
@ -1,14 +0,0 @@
|
|||
//@ts.check
|
||||
|
||||
var constraints = { audio: true, video: false }
|
||||
|
||||
navigator.mediaDevices.getUserMedia(constraints)
|
||||
.then(function(stream) {
|
||||
/* use the stream */
|
||||
console.log("got stream!");
|
||||
console.log(stream)
|
||||
})
|
||||
.catch(function(err) {
|
||||
/* handle the error */
|
||||
console.log(err)
|
||||
});
|
||||
Loading…
Reference in a new issue