Update feedback @moufmouf
This commit is contained in:
parent
1659fa400f
commit
d4c7a20dfa
@ -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…
Reference in New Issue
Block a user