Update feedback @moufmouf

This commit is contained in:
Gregoire Parant 2021-01-07 09:42:11 +01:00
parent 1659fa400f
commit d4c7a20dfa
1 changed files with 2 additions and 1 deletions

View File

@ -318,7 +318,8 @@ export class MediaManager {
const localScreenCapture = this.localScreenCapture;
this.getCamera().then((stream) => {
this.triggerStoppedScreenSharingCallbacks(localScreenCapture);
}).catch(() => { //catch error get camera
}).catch((err) => { //catch error get camera
console.error(err);
this.triggerStoppedScreenSharingCallbacks(localScreenCapture);
});
this.localScreenCapture = null;