I'm using twilio as a service for a video chat app. The room is will contain only 2 participants P1 & P2
P1
- Gets a generated access token from the backend( with room grants added)
 - Gets the room name from the server
 Connects to room
let connectOptions = TVIConnectOptions.init(token: payload.twilioAccessToken) { (builder) in builder.roomName = payload.roomName } twilioLog("Will Connect to room with name \(String(describing: payload.roomName))") self.room = TwilioVideo.connect(with: connectOptions, delegate:self)func didConnect(to room: TVIRoom)Called Successfully.
P2
- Gets a different generated access token from the backend( with room grants added)
 - Gets the same room name from the server
 Connects to room
let connectOptions = TVIConnectOptions.init(token: payload.twilioAccessToken) { (builder) in builder.roomName = payload.roomName } twilioLog("Will Connect to room with name \(String(describing: payload.roomName))") self.room = TwilioVideo.connect(with: connectOptions, delegate:self)func didConnect(to room: TVIRoom)Called Successfully.
However, func room(_ room: TVIRoom, participantDidConnect participant: TVIParticipant) Never gets called.
Also, room.participants returns an empty array.