Merge pull request #15455 from ramonlsouza/add-missing-media-init

fix: In Android Screen share and Share external video not showing to newly joined
This commit is contained in:
Ramón Souza 2022-07-27 15:01:36 -03:00 committed by GitHub
commit 1da57d8c50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 0 deletions

View File

@ -155,6 +155,14 @@ const CustomLayout = (props) => {
cameraDock: { cameraDock: {
numCameras: cameraDockInput.numCameras, numCameras: cameraDockInput.numCameras,
}, },
externalVideo: {
hasExternalVideo: input.externalVideo.hasExternalVideo,
},
screenShare: {
hasScreenShare: input.screenShare.hasScreenShare,
width: input.screenShare.width,
height: input.screenShare.height,
},
}, INITIAL_INPUT_STATE), }, INITIAL_INPUT_STATE),
}); });
} else { } else {

View File

@ -131,6 +131,14 @@ const PresentationFocusLayout = (props) => {
cameraDock: { cameraDock: {
numCameras: cameraDockInput.numCameras, numCameras: cameraDockInput.numCameras,
}, },
externalVideo: {
hasExternalVideo: input.externalVideo.hasExternalVideo,
},
screenShare: {
hasScreenShare: input.screenShare.hasScreenShare,
width: input.screenShare.width,
height: input.screenShare.height,
},
}, INITIAL_INPUT_STATE), }, INITIAL_INPUT_STATE),
}); });
} }

View File

@ -91,6 +91,14 @@ const SmartLayout = (props) => {
cameraDock: { cameraDock: {
numCameras: cameraDockInput.numCameras, numCameras: cameraDockInput.numCameras,
}, },
externalVideo: {
hasExternalVideo: externalVideoInput.hasExternalVideo,
},
screenShare: {
hasScreenShare: screenShareInput.hasScreenShare,
width: screenShareInput.width,
height: screenShareInput.height,
},
}, INITIAL_INPUT_STATE), }, INITIAL_INPUT_STATE),
}); });
} else { } else {

View File

@ -97,6 +97,14 @@ const VideoFocusLayout = (props) => {
cameraDock: { cameraDock: {
numCameras: cameraDockInput.numCameras, numCameras: cameraDockInput.numCameras,
}, },
externalVideo: {
hasExternalVideo: input.externalVideo.hasExternalVideo,
},
screenShare: {
hasScreenShare: input.screenShare.hasScreenShare,
width: input.screenShare.width,
height: input.screenShare.height,
},
}, },
INITIAL_INPUT_STATE, INITIAL_INPUT_STATE,
), ),