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

> Where a track's audio comes from.

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

```rust
pub enum Source { … }
```

Where a track's audio comes from.

## Variants

### `Url(String)`

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(Vec<u8>)`

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

### `Pushed`

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

## Trait implementations

`Clone`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/bindings/zaun/bot/voice/enum.Source.html)
