GitHub

Source

useAudioWaveform

Import

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

Properties

options?AudioWaveformOptions
trackOrTrackReference?LocalAudioTrack | RemoteAudioTrack | TrackReferenceOrPlaceholder

Returns

{
bars: number[];
}