wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
Loading...
Searching...
No Matches
moqtrel_sub Struct Reference

One subscriber's read cursor into a ring. More...

#include <moqtrel.h>

Data Fields

u64 sent
 Absolute offset of the next byte to send to this subscriber.
u64 last_ok_ms
 Time (ms) of the last accepted send; the stall clock's anchor.
int active
 1 while this cursor tracks a live subscriber stream.
int shed
 1 once the hub gave up on this subscriber (stall shed); a shed cursor never pins head again.
int fin_done
 1 once the closing FIN for this subscriber was accepted.
u64 end
 Absolute offset this subscriber's stream ends at (its End Object); 0 when only the publisher's FIN ends it.
u64 lead_id
 Absolute Object ID the Object at sent goes out with; valid iff lead_skip.
u32 lead_skip
 Bytes of the Object ID Delta at sent that lead_id replaces; 0 when nothing is re-framed.
int before_start
 1 while no Object at or past the subscriber's start Object arrived: each append moves sent past the Objects before it.

Detailed Description

One subscriber's read cursor into a ring.


The documentation for this struct was generated from the following file: