standardize electron-capturer doc snippets
This commit is contained in:
parent
c38f505001
commit
c3f26df577
1 changed files with 2 additions and 2 deletions
|
@ -32,11 +32,11 @@ desktopCapturer.getSources({types: ['window', 'screen']}, (error, sources) => {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
function handleStream(stream) {
|
function handleStream (stream) {
|
||||||
document.querySelector('video').src = URL.createObjectURL(stream)
|
document.querySelector('video').src = URL.createObjectURL(stream)
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleError(e) {
|
function handleError (e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue