fix(webcams): always unshare cameras if video selector is active
This commit is contained in:
parent
54bda21287
commit
23c49902a0
@ -54,8 +54,9 @@ const JoinVideoButton = ({
|
||||
disableReason,
|
||||
mountVideoPreview,
|
||||
}) => {
|
||||
const exitVideo = () => hasVideoStream && !VideoService.isMultipleCamerasEnabled();
|
||||
const { enableWebcamSelectorButton } = Meteor.settings.public.app;
|
||||
const exitVideo = () => hasVideoStream
|
||||
&& (!VideoService.isMultipleCamerasEnabled() || enableWebcamSelectorButton);
|
||||
|
||||
const handleOnClick = debounce(() => {
|
||||
if (!validIOSVersion()) {
|
||||
|
Loading…
Reference in New Issue
Block a user