GitHub

Source

useMultibandTrackVolume

Hook for tracking the volume of an audio track across multiple frequency bands using the Web Audio API.

Import

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

Properties

options?MultiBandTrackVolumeOptions
trackOrTrackReference?LocalAudioTrack | RemoteAudioTrack | TrackReferenceOrPlaceholder

Returns

number[]