Increase stability to force stopped screen sharing
This commit is contained in:
parent
178af22280
commit
1659fa400f
@ -318,6 +318,8 @@ export class MediaManager {
|
||||
const localScreenCapture = this.localScreenCapture;
|
||||
this.getCamera().then((stream) => {
|
||||
this.triggerStoppedScreenSharingCallbacks(localScreenCapture);
|
||||
}).catch(() => { //catch error get camera
|
||||
this.triggerStoppedScreenSharingCallbacks(localScreenCapture);
|
||||
});
|
||||
this.localScreenCapture = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user