Skip to content

AudioDelivery

AudioDelivery = "bytes" | "url"

Defined in: sdk/src/audio/PlatformAudioBackend.ts:74

What a backend needs in order to play a clip: bytes decodes a buffer the caller fetched, url hands the host a source it fetches itself (a mini-game’s InnerAudioContext). A url backend given a cache KEY rather than a resolved source plays a file the package does not carry.