MCPcopy
hub / github.com/livekit/livekit / GetRemoteParticipant

Method GetRemoteParticipant

test/client/client.go:776–780  ·  view source on GitHub ↗
(sid livekit.ParticipantID)

Source from the content-addressed store, hash-verified

774}
775
776func (c *RTCClient) GetRemoteParticipant(sid livekit.ParticipantID) *livekit.ParticipantInfo {
777 c.lock.Lock()
778 defer c.lock.Unlock()
779 return c.remoteParticipants[sid]
780}
781
782func (c *RTCClient) Stop() {
783 logger.Infow("stopping client", "ID", c.ID())

Calls

no outgoing calls