wide-dress-57902
08/11/2025, 11:19 PMtall-airline-16756
08/11/2025, 11:19 PMtall-airline-16756
08/11/2025, 11:20 PMlocalParticipant:didPublishTrack
.
◦ RemoteParticipant: Fires events like remoteParticipant:didPublishTrack
.
• Functionality:
◦ LocalParticipant: Has control over devices like your mic and camera, and can publish data.
◦ RemoteParticipant: Manages the incoming data and tracks from others.
If anything’s unclear or you want to dive deeper, just let me know—I’m here to help!
Sources: livekit-rtc/livekit/rtc/participant.py | Core API primitives | LiveKit Docs | Sources/LiveKit/Protocols/ParticipantDelegate.swift | src/room/participant/LocalParticipant.tswide-dress-57902
08/11/2025, 11:20 PMtall-airline-16756
08/11/2025, 11:21 PMLocalTrackPublication
objects for your shared tracks.
◦ RemoteParticipant: They offer RemoteTrackPublication
objects that others use to subscribe to their tracks.
• Event Handling:
◦ LocalParticipant: You can handle events like muting/unmuting tracks, updating metadata, and even set up RPC (Remote Procedure Call) handlers to communicate.
◦ RemoteParticipant: You’ll get notifications about their track changes and subscription status, but they don’t support publishing tracks or RPC handlers.
If you want me to explain anything further or have more questions, just let me know—I’m here to help!
Sources: livekit/src/room/participant/local_participant.rs | livekit-rtc/livekit/rtc/participant.py | src/index.ts