Merge pull request #20832 from prlanzarin/u27/fix/broken-present-camera
fix(video): camera cannot be shared as content
This commit is contained in:
commit
f85bc7f976
@ -735,7 +735,13 @@ class VideoPreview extends Component {
|
|||||||
this.currentVideoStream = bbbVideoStream;
|
this.currentVideoStream = bbbVideoStream;
|
||||||
this.updateDeviceId(deviceId);
|
this.updateDeviceId(deviceId);
|
||||||
|
|
||||||
if (cameraAsContent) return Promise.resolve(true);
|
if (cameraAsContent) {
|
||||||
|
this.setState({
|
||||||
|
isStartSharingDisabled: false,
|
||||||
|
});
|
||||||
|
|
||||||
|
return Promise.resolve(true);
|
||||||
|
}
|
||||||
|
|
||||||
return this.startEffects(deviceId)
|
return this.startEffects(deviceId)
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user