The useRemoteParticipant hook returns the RemoteParticipant with the given identity.
useRemoteParticipant
identity
To optimize performance, you can use the updateOnlyOn property to decide on what ParticipantEvents the hook updates.
updateOnlyOn
ParticipantEvents
const participant = useRemoteParticipant('Russ');
Optional
Generated using TypeDoc
The
useRemoteParticipant
hook returns the RemoteParticipant with the givenidentity
.Remarks
To optimize performance, you can use the
updateOnlyOn
property to decide on whatParticipantEvents
the hook updates.Example