GitHub

Source

usePreviewTracks

Import

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

Properties

optionsCreateLocalTracksOptions
onError?(err: Error) => void

Returns

(LocalTrack < Track.Kind > []) | undefined;