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

The hub's own clock-paced live track (wired_moqt_publish_live): Group g carries fragment g mod n_frags as its only Object, Groups advancing every group_ms from t0_ms. More...

#include <moqtrun.h>

Data Fields

wired_moqtrun_track track
 name, own_alias, subs[]
const wired_span * frags
 caller-owned fragment views
usz n_frags
 entries at frags
u64 t0_ms
 clock at publish: Group 0's start
u64 group_ms
 Group duration.
u64 last_now_ms
 Clock of the most recent wired_moqt_tick; a SUBSCRIBE between ticks is served the Group current at that tick.
u64 sent_group [WIRED_MOQTRUN_MAX_SUBS]
 last Group sent per sub
int sent_any [WIRED_MOQTRUN_MAX_SUBS]
 0 until the first send

Detailed Description

The hub's own clock-paced live track (wired_moqt_publish_live): Group g carries fragment g mod n_frags as its only Object, Groups advancing every group_ms from t0_ms.

sent_group[i]/sent_any[i] record, per sub slot of track.subs[], the last Group actually accepted for that subscriber – a refused send leaves them untouched so the next tick retries while the clock is still in that Group.


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