Hey there! If you’re seeing an error when trying to add a track for a participant, it could be for a few reasons:
•
Insufficient Permissions: Maybe the participant doesn’t have the right permissions to publish tracks, like the camera.
•
Duplicate Track Publication: The track might already be published by that participant.
•
Invalid Track State: Sometimes the track could be stopped or already published somewhere else, which causes issues.
•
Connection Issues: The participant might not be properly connected to the room or could be in an invalid connection state.
To fix this, double-check that the participant has the right permissions, the track isn’t already published or stopped, and that they’re connected to the room correctly. If you have any extra details about the error or what you’re seeing, feel free to share—I’m here to help!
Sources:
Sources/LiveKit/Protocols/ParticipantDelegate.swift |
livekit-android-sdk/src/main/java/io/livekit/android/events/ParticipantEven...