Delegate methods for participant events. SinceDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/livekit/client-sdk-swift/llms.txt
Use this file to discover all available pages before exploring further.
Participant inherits from MulticastDelegate, you can call add(delegate:) on any Participant to register multiple delegates.
To ensure each participant’s delegate is registered, look through
room.localParticipant and room.remoteParticipants on connect and register delegates on new participants inside RoomDelegate.room(_:participantDidConnect:).Usage
Participant Events
Participant metadata has updated.Works for both
LocalParticipant and RemoteParticipant.Participant name has updated.Works for both
LocalParticipant and RemoteParticipant.The speaking status of a participant has changed.Works for both
LocalParticipant and RemoteParticipant.Participant state has updated.Works for both
LocalParticipant and RemoteParticipant.Connection quality of a participant has updated.Works for both
LocalParticipant and RemoteParticipant.Participant permissions have updated.
Participant attributes have updated.
Track Publication Events
Muted state has updated for a track publication.For
LocalParticipant, this is called when setMute is called on LocalTrackPublication, or if the server has requested the participant to be muted.Received transcription segments for a track.
Local Participant Events
The local participant has published a track.
The local participant has unpublished a track.
Fired when the first remote participant has subscribed to the local participant’s track.
The local participant was moved to a different room.
Remote Participant Events
A new remote track publication was published to the room after the local participant has joined.
This delegate method will not be called for tracks that are already published when you join.
The remote participant has unpublished a track.
The local participant has subscribed to a new remote track.This event will always fire as long as new tracks are ready for use.
Unsubscribed from a remote track publication and it is no longer available.Clients should listen to this event and handle cleanup.
Could not subscribe to a track.This is an error state; the subscription can be retried.
Stream state has updated for a remote track publication.
Subscription permission has updated for a remote track publication.
Data Events
Data was received from a remote participant.