Skip to main content
GitHub

Source

useMaybeSessionContext

Note

This feature is under active development and may change based on developer feedback and real-world usage.

Returns the session context if it exists, otherwise undefined.

Import

import { useMaybeSessionContext } from "@livekit/components-react";

Returns

UseSessionReturn | undefined;