Expand description
HTTP-server side: accept WHIP/WHEP offers from remote clients.
Mounts axum routers that publish into moq_net::OriginProducer (WHIP
/ server publish) and pull from moq_net::OriginConsumer (WHEP /
server subscribe). The HTTP listener itself is the caller’s
responsibility; the binary in bin/moq-rtc.rs mounts these under
axum_server.
Modules§
Structs§
- Config
- Configuration shared by both
server publishandserver subscribe. - Response
- The result of a WHIP/WHEP
whip::accept/whep::accept: the SDP answer to return to the client, plus an opaque resource id for theLocationheader (the RFC 9725 session resource URL). - Server
- Glue that owns the moq-net origin pair and hands axum routers to the caller.