Skip to content

Enum bindings::zaun::bot::voice::Source

zaun_bot::bindings::zaun::bot::voice::Source · Enum

pub enum Source { … }

Where a track’s audio comes from.

An https:// Ogg Opus or WebM Opus file or stream (WebM where the host demuxes it; elsewhere a track-error), fetched by the host under the bot’s network grant (the server learns the host’s address) and played as it arrives. http:// and https:// URLs to a local_network address are fetched the same way, without leaving the host’s machine or network.

Ogg Opus bytes the bot already holds (≤ 16 MiB).

Opus packets the bot pushes with push, until end-stream.

Clone, Debug

Full rustdoc page