Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(remote-control):Pin the control participant SS
Hristo Terezove4d4bec175e4
diff --git a/react/features/remote-control/actions.ts b/react/features/remote-control/actions.tsindex 07895a4177..9424f8f4a9 100644--- a/react/features/remote-control/actions.ts+++ b/react/features/remote-control/actions.ts@@ -207,14 +207,14 @@ export function processPermissionRequestReply(participantId: string, event: any)// the remote control permissions has been granted// pin the controlled participantconst pinnedParticipant = getPinnedParticipant(state);- const virtualScreenshareParticipantId = getVirtualScreenshareParticipantByOwnerId(state, participantId);+ const virtualScreenshareParticipant = getVirtualScreenshareParticipantByOwnerId(state, participantId);const pinnedId = pinnedParticipant?.id;// @ts-ignore- if (virtualScreenshareParticipantId && pinnedId !== virtualScreenshareParticipantId) {+ if (virtualScreenshareParticipant?.id && pinnedId !== virtualScreenshareParticipant?.id) {// @ts-ignore- dispatch(pinParticipant(virtualScreenshareParticipantId));- } else if (!virtualScreenshareParticipantId && pinnedId !== participantId) {+ dispatch(pinParticipant(virtualScreenshareParticipant?.id));+ } else if (!virtualScreenshareParticipant?.id && pinnedId !== participantId) {dispatch(pinParticipant(participantId));}}