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(rn, screen-sharing) don't render own screen-share in large view
Saúl Ibarra Corretgé4211db0893bd
diff --git a/react/features/large-video/components/LargeVideo.native.js b/react/features/large-video/components/LargeVideo.native.jsindex 5377089b99..38b51bf78c 100644--- a/react/features/large-video/components/LargeVideo.native.js+++ b/react/features/large-video/components/LargeVideo.native.js@@ -3,9 +3,10 @@import React, { PureComponent } from 'react';import { ColorSchemeRegistry } from '../../base/color-scheme';-import { ParticipantView } from '../../base/participants';+import { ParticipantView, getParticipantById } from '../../base/participants';import { connect } from '../../base/redux';import { StyleType } from '../../base/styles';+import { isLocalVideoTrackDesktop } from '../../base/tracks/functions';import { AVATAR_SIZE } from './styles';@@ -14,6 +15,11 @@ import { AVATAR_SIZE } from './styles';*/type Props = {+ /**+ * Whether video should be disabled.+ */+ _disableVideo: boolean,+/*** Application's viewport height.*/@@ -112,6 +118,7 @@ class LargeVideo extends PureComponent<Props, State> {useConnectivityInfoLabel} = this.state;const {+ _disableVideo,_participantId,_styles,onClick@@ -120,6 +127,7 @@ class LargeVideo extends PureComponent<Props, State> {return (<ParticipantViewavatarSize = { avatarSize }+ disableVideo = { _disableVideo }onPress = { onClick }participantId = { _participantId }style = { _styles.largeVideo }@@ -139,11 +147,19 @@ class LargeVideo extends PureComponent<Props, State> {* @returns {Props}*/function _mapStateToProps(state) {+ const { participantId } = state['features/large-video'];+ const participant = getParticipantById(state, participantId);const { clientHeight: height, clientWidth: width } = state['features/base/responsive-ui'];+ let disableVideo = false;++ if (participant?.local) {+ disableVideo = isLocalVideoTrackDesktop(state);+ }return {+ _disableVideo: disableVideo,_height: height,- _participantId: state['features/large-video'].participantId,+ _participantId: participantId,_styles: ColorSchemeRegistry.get(state, 'LargeVideo'),_width: width};