LiveKit LogoDocs
Real-timeEgress/IngressCloudReference

useMaybeParticipantContext

Returns a participant from the ParticipantContext if it exists, otherwise undefined.

Import

import { useMaybeParticipantContext } from '@livekit/components-react';

Returns

Participant | undefined;

On this page

ImportReturns

Previous

Chevron IconuseMaybeLayoutContext
LiveKit Logo

Product

SFU

SDKs

Cloud Dashboard

Cloud Status

GitHub Logo