serenity-rs / songbird

An async Rust library for the Discord voice API
ISC License
394 stars 116 forks source link

Driver: Gate UDP Receive handling with Cargo feature #131

Closed FelixMcFelix closed 2 years ago

FelixMcFelix commented 2 years ago

Many bots shouldn't require any UDP/RTP traffic handling: as such, we can remove a fair amount of types and tasks if needed. This could be a default feature, or we could require that this be explicitly specified to reduce packet handling costs for most users painlessly. In the latter case, this needs to be documented for version migration.