Update feedback @moufmouf
This commit is contained in:
parent
1659fa400f
commit
d4c7a20dfa
1 changed files with 2 additions and 1 deletions
|
@ -318,7 +318,8 @@ export class MediaManager {
|
||||||
const localScreenCapture = this.localScreenCapture;
|
const localScreenCapture = this.localScreenCapture;
|
||||||
this.getCamera().then((stream) => {
|
this.getCamera().then((stream) => {
|
||||||
this.triggerStoppedScreenSharingCallbacks(localScreenCapture);
|
this.triggerStoppedScreenSharingCallbacks(localScreenCapture);
|
||||||
}).catch(() => { //catch error get camera
|
}).catch((err) => { //catch error get camera
|
||||||
|
console.error(err);
|
||||||
this.triggerStoppedScreenSharingCallbacks(localScreenCapture);
|
this.triggerStoppedScreenSharingCallbacks(localScreenCapture);
|
||||||
});
|
});
|
||||||
this.localScreenCapture = null;
|
this.localScreenCapture = null;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue