moqtap-client
A complete bidirectional MoQT endpoint.
What it does
Section titled “What it does”moqtap-client is a full MoQT endpoint that can subscribe, publish, fetch, and discover — all on a single QUIC connection.
use moqtap_client::MoqEndpoint;
let endpoint = MoqEndpoint::connect( "https://relay.example.com/moq", TlsConfig::AcceptAny, DraftVersion::Draft14,).await?;
// Subscribe to a tracklet sub = endpoint.subscribe( &["chat"], "messages", Filter::LatestObject,).await?;
// Receive objectswhile let Some(object) = sub.recv().await { println!("Object: group={} id={} size={}", object.group_id, object.object_id, object.payload.len());}Capabilities
Section titled “Capabilities”- Subscribe — with filter types, priority, group order
- Fetch — retrieve historical objects by range
- Discover — namespace discovery via SUBSCRIBE_NAMESPACE
- Track status — query track availability
- Publish — send objects (structurally present, full UI in v0.2+)
Request ID management
Section titled “Request ID management”The client uses even request IDs starting at 0, incrementing by 2. The relay uses odd IDs. This is per the MoQT spec.