Skip to content

Function bindings::zaun::bot::voice::push

zaun_bot::bindings::zaun::bot::voice::push · Function

pub fn push(packets: &[Vec<u8>]) -> Result<u32, HostError>

Opus packets (2.5 to 120 ms each, ≤ 1000 bytes) for the current pushed track. Returns the audio buffered, in ms; BUSY past 3 s, so push about as fast as it plays.

Full rustdoc page