Video SDK useParticipant Hook - React Native
Introduction
useParticipant() gives a component one participant in the room. Pass the participantId and the participant event callbacks you need, and use the properties and methods it returns.
For an AI agent in the room, use useAgentParticipant() instead. useParticipant() throws an error when it is given an agent's ID.
Properties
Methods
Event Callbacks
Got a Question? Ask us on discord

