on Participant Joined
Called when a new remote participant joins the meeting.
Use this callback to set up ParticipantEventListeners on the new participant and render their media streams.
Code Example:
override fun onParticipantJoined(participant: Participant) {
participant.addEventListener(object : ParticipantEventListener() {
override fun onStreamEnabled(stream: Stream) {
// Handle new stream
}
})
}
Content copied to clipboard
Parameters
participant
the Participant that joined