Skip to main content

Module endpoint

Module endpoint 

Source
Expand description

Draft-19 MoQT endpoint.

Major changes from draft-18:

  • GoAway drops the request_id field entirely; the control-stream and request-stream forms are now identical on the wire.
  • PublishBlocked renamed to PublishSkipped (still type 0x0F, wire identical).
  • GROUP_ORDER (parameter 0x22) moves from PUBLISH_OK to SUBSCRIBE_TRACKS.
  • New Range Filter parameters (SUBGROUP_FILTER 0x25, OBJECTID_FILTER 0x26, PRIORITY_FILTER 0x27, OBJECT_PROPERTY_FILTER 0x28, TRACK_PROPERTY_FILTER 0x29) may appear on SUBSCRIBE / FETCH / SUBSCRIBE_TRACKS / REQUEST_UPDATE.
  • RequestError adds CONFLICTING_FILTERS (0x35) and INVALID_FILTER (0x36); DUPLICATE_SUBSCRIPTION (0x19) is removed.

Structsยง

Endpoint
FetchTrack ๐Ÿ”’
The track one fetch is for, which the fetchโ€™s own state machine does not hold.
TrackBinding ๐Ÿ”’
A Track Alias the peer has attached to a Full Track Name, and the request whose lifetime the attachment follows.

Enumsยง

BindingKind ๐Ÿ”’
Which of the two sequences Section 5.1 names established the subscription that owns a binding, and so which state machine says whether it still has one.
EndpointError
Errors that can occur during endpoint operations.
FilterRejection
Why a peerโ€™s request must be answered with REQUEST_ERROR and INVALID_FILTER.

Constantsยง

MAX_FILTER_RANGES ๐Ÿ”’
The MAX_FILTER_RANGES Setup Option, Section 10.3.1.6.
MAX_REQUEST_UPDATES ๐Ÿ”’
The MAX_REQUEST_UPDATES Setup Option, Section 10.3.1.7.
TRACK_NAMESPACE_PREFIX ๐Ÿ”’
Parameter Type of TRACK_NAMESPACE_PREFIX.

Functionsยง

apply_filter_update ๐Ÿ”’
Apply a REQUEST_UPDATEโ€™s filter parameters to the set already in force.
prefixes_overlap ๐Ÿ”’
Whether two namespace prefixes overlap.
range_filter_parameters ๐Ÿ”’
The Range Filter parameters in parameters, dropping the removals.
request_parameters ๐Ÿ”’
The Message Parameters a request carries, or nothing for a message that is not a request.
setup_varint ๐Ÿ”’
Read a Setup Optionโ€™s value as a variable-length integer, or 0 if it is absent.
updated_prefix ๐Ÿ”’
The Track Namespace Prefix a REQUEST_UPDATE asks a namespace subscription to move to, and None when it asks for no such move.