blackuy / react-native-twilio-video-webrtc

Twilio Video (WebRTC) for React Native
https://www.twilio.com/docs/video
MIT License
606 stars 403 forks source link

onRoomParticipantDidConnect not called in ios when joining the video call #712

Open gauripagare28 opened 1 year ago

gauripagare28 commented 1 year ago

Steps to reproduce

1. 2. 3.

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Environment

react-native-twilio-video-webrtc

Version: npm version or "master"

kazimdsaidul commented 1 year ago

Same to me

ASrey commented 1 year ago

What's your case?

Indeed onRoomParticipantDidConnect isn't fired when you join a room. It's only called when someone else join the room after you.

You should check onRoomParticipantDidConnect if you want to know the other participants.

sidthidet-k commented 1 year ago

@ASrey, I encountered the same problem, and this issue only occurs on iOS. On Android, onRoomParticipantDidConnect is called regardless of whether a participant joins the room before or after me.