Progressive audio playback for AudioMedia handles with a
uniform surface across PCM (streamed) and container
(HTMLAudioElement) strategies.
See useAudioPlayer in the React binding for the full behaviour spec; this Vue version exposes the same contract with reactive refs in place of React state values.
useAudioPlayer(
media: MaybeRefOrGetter<AudioMedia | undefined>,
options: UseAudioPlayerOptions
): AudioPlayerHandle| Name | Type | Description |
|---|---|---|
media* | MaybeRefOrGetter<AudioMedia | undefined> | |
options | UseAudioPlayerOptions |
Audio handle from useAudio (ref or getter).
Strategy overrides and PCM format hints.