audiopus::packet

Function bandwidth

Source
pub fn bandwidth<'a, I>(packet: I) -> Result<Bandwidth>
where I: TryInto<Packet<'a>>,
Expand description

Gets width of an Opus packet.

Warning: Empty packet will return Error::EmptyPacket.