|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
One SUBSCRIBE the hub sent upstream on its own request stream. More...
#include <moqtrun.h>
Data Fields | |
| int | in_use |
| 1 while the slot tracks an upstream SUBSCRIBE. | |
| wired_wt_session * | wt |
| The publisher's session. | |
| u64 | stream_id |
| The hub-opened request stream the SUBSCRIBE went out on. | |
| u64 | request_id |
| The hub's Request ID on wt (odd, draft-18 10.1). | |
| u64 | track_tag |
| cache_tag of the track SUBSCRIBE_OK claimed; 0 while pending. | |
| u8 | done |
| 1 once the publisher's PUBLISH_DONE arrived: the hub's side ends with a FIN, not a cancel, when the track retires. | |
| u8 | ns [WIRED_MOQTRUN_MAX_NS] |
| The Full Track Name's encoded Namespace, keyed as the hub keys tracks. | |
| usz | ns_len |
| Bytes of ns in use. | |
| u8 | name [WIRED_MOQTRUN_MAX_NAME] |
| The Full Track Name's Track Name, copied. | |
| usz | name_len |
| Bytes of name in use. | |
| wired_moqtrun_ctl_asm | in |
| Reassembly of the publisher's replies on stream_id. | |
One SUBSCRIBE the hub sent upstream on its own request stream.
Keyed by (wt, stream_id); the track it feeds is found again by track_tag (wired_moqtrun_track.cache_tag), never held as a pointer.