Skip to main content

Crate gap

Crate gap 

Source
Expand description

Group Audio Protocol — audio sub-protocol of the Group Protocol Stack.

Profile (GAP §7): Opus at 48 kHz REQUIRED, 20 ms packetisation RECOMMENDED, FEC RECOMMENDED, reliable delivery NOT RECOMMENDED.

This crate provides:

  • GapPayload — the CBOR-encoded audio payload format.
  • GapClient — stateful client that maintains a per-source rtp_sequence window (replay protection, GAP §10) and validates key_phase against the current group epoch.

See gbp-protocol for the underlying frame format.

Re-exports§

pub use client::GapAccept;
pub use client::GapClient;
pub use client::GapError;
pub use jitter::JitterBuffer;
pub use jitter::JitterPush;
pub use payload::GapPayload;

Modules§

client
Stateful GAP client.
jitter
Bounded reorder buffer for GAP audio frames.
payload
GAP audio payload codec. Five CBOR keys.