useTrackVolume
Hook for tracking the volume of an audio track using the Web Audio API.
Import
import { useTrackVolume } from "@livekit/components-react";
Properties
options?
AudioAnalyserOptions
trackOrTrackReference?
LocalAudioTrack | RemoteAudioTrack | TrackReference
Returns
number;