Skip to content

TrackOptions = { title?: string; url: string; } | { ogg: Uint8Array; title?: string; } | { pushed: true; title?: string; }

Defined in: sdk/js/src/voice.ts:11

Something to play: an Ogg Opus or WebM Opus URL (WebM where the host demuxes it), https:// on a network host or http:///https:// on a local_network address (the host checks it); Ogg Opus bytes; or pushed Opus packets.