Skip to main content

Module endpoint

Module endpoint 

Source
Expand description

Unified endpoint state machine orchestrating all MoQT protocol flows. Draft-17 MoQT endpoint.

Major architectural differences from earlier drafts:

  • Unified Setup message (no separate CLIENT_SETUP / SERVER_SETUP).
  • Response messages (SubscribeOk, PublishOk, FetchOk, PublishDone, RequestOk, RequestError) do NOT carry a request_id. Each request opens its own bidirectional stream and its response arrives as the first message on that stream (spec §3.3, §9.7, §9.9). The transport layer knows which request_id each bidi stream belongs to; callers must supply that request_id via Endpoint::receive_response_on_stream.
  • No Unsubscribe, FetchCancel, MaxRequestId, RequestsBlocked, PublishNamespaceDone, or PublishNamespaceCancel messages.
  • Request-producing messages (Subscribe, Publish, Fetch, PublishNamespace, SubscribeNamespace, TrackStatus, RequestUpdate) gain a required_request_id_delta field.
  • New PublishBlocked message notifies subscribers a publisher is blocked.
  • Namespace and NamespaceDone are unsolicited announcements of namespace suffixes.

Structs§

Endpoint

Enums§

EndpointError
Errors that can occur during endpoint operations.