Merge pull request #20832 from prlanzarin/u27/fix/broken-present-camera

fix(video): camera cannot be shared as content
This commit is contained in:
Paulo Lanzarin 2024-08-01 15:09:30 -03:00 committed by GitHub
commit f85bc7f976
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -735,7 +735,13 @@ class VideoPreview extends Component {
this.currentVideoStream = bbbVideoStream;
this.updateDeviceId(deviceId);
if (cameraAsContent) return Promise.resolve(true);
if (cameraAsContent) {
this.setState({
isStartSharingDisabled: false,
});
return Promise.resolve(true);
}
return this.startEffects(deviceId)
.catch((error) => {