audiopus::packet
pub fn bandwidth<'a, I>(packet: I) -> Result<Bandwidth> where I: TryInto<Packet<'a>>,
Gets width of an Opus packet.
packet
Warning: Empty packet will return Error::EmptyPacket.
Error::EmptyPacket