Fixes stopping desktop sharing when changing video device to use.

pull/2077/head
damencho 8 years ago
parent ade5290013
commit 7f7200b599
  1. 9
      conference.js

@ -2195,7 +2195,14 @@ export default {
return stream;
})
.then(stream => {
this.useVideoStream(stream);
// if we are screen sharing we do not want to stop it
if (this.isSharingScreen) {
return Promise.resolve();
}
return this.useVideoStream(stream);
})
.then(() => {
logger.log('switched local video device');
APP.settings.setCameraDeviceId(cameraDeviceId, true);
})

Loading…
Cancel
Save