Driver/receive: Implement audio reorder/jitter buffer (#156)
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.
This commit is contained in:
@@ -6,13 +6,6 @@ pub enum DecodeMode {
|
||||
/// changes applied.
|
||||
///
|
||||
/// No CPU work involved.
|
||||
///
|
||||
/// *BEWARE: this will almost certainly break [user speaking events].
|
||||
/// Silent frame detection only works if extensions can be parsed or
|
||||
/// are not present, as they are encrypted.
|
||||
/// This event requires such functionality.*
|
||||
///
|
||||
/// [user speaking events]: crate::events::CoreEvent::SpeakingUpdate
|
||||
Pass,
|
||||
/// Decrypts the body of each received packet.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user