This PR Introduces a new `VoiceTick` event which collects and reorders all RTP packets to smooth over network instability, as well as to synchronise user audio streams. Raw packet events have been moved to `RtpPacket`, while `SpeakingUpdate`s have been removed as they can be easily computed using the `silent`/`speaking` audio maps included in each event. Closes #146.
24 lines
465 B
TOML
24 lines
465 B
TOML
[package]
|
|
name = "voice_receive"
|
|
version = "0.1.0"
|
|
authors = ["my name <my@email.address>"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
dashmap = "5"
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.2"
|
|
tracing-futures = "0.2"
|
|
|
|
[dependencies.songbird]
|
|
features = ["receive"]
|
|
path = "../../../"
|
|
|
|
[dependencies.serenity]
|
|
version = "0.11"
|
|
features = ["client", "standard_framework", "voice", "rustls_backend"]
|
|
|
|
[dependencies.tokio]
|
|
version = "1.0"
|
|
features = ["macros", "rt-multi-thread"]
|