Closed omairys closed 1 year ago
Any update on this issue ?
Yes, The error is in how this part of the code is written. So, I remove the tag </TwilioVideoParticipantView>
and the same for </TwilioVideoLocalView>
. And that's it. The problem that I have now is expanding and contracting the screen in Android. I hope it helps.
<TwilioVideoParticipantView
enabled={true}
key={trackSid}
trackIdentifier={trackIdentifier}
style={maxRemote ? { top: '1%', width: '97%', height: '90%', zIndex: 10000, alignSelf: 'center' } : styles.remoteView}
scaleType={"fill"}
>
<TouchableOpacity style={{ position: 'absolute', top: '1%', left: '90%' }} onPress={() => { setMaxRemote(!maxRemote) }}>
<Ionicons
name={maxRemote ? 'md-contract' : 'md-expand'}
size={25}
color='white'
style={{ padding: '2%' }}
/>
</TouchableOpacity>
</TwilioVideoParticipantView>
Steps to reproduce
` (status === 'connected' || status === 'connecting') &&
Expected behaviour
Activate the camera and make a video call
Actual behaviour
Environment
react-native-twilio-video-webrtc
Version: npm version or "master"