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