Skip to main content

Module control

Module control 

Source
Expand description

Inline control stream parser.

Buffers raw bytes from the forwarding loop and decodes complete MoQT control messages without modifying the forwarded data.

Everything the parser framed comes back, decoded or not. A frame whose declared length is intact but whose body the decoder refuses is a ParsedItem::Refused carrying its bytes, not a gap: on the mutating control pipe this parser is the forwarding path, so a refusal it kept to itself would delete a control message from the wire and desynchronize the peer’s view of the session.

Structs§

ControlStreamParser
Stateful inline parser for a MoQT control stream.
ParsedFrame
A successfully parsed control frame.
RefusedFrame
A frame the parser located but the decoder refused.

Enums§

ParseResult
Result of feeding bytes to the control stream parser.
ParsedItem
One thing the parser framed, in wire order.