Directories
¶
| Path | Synopsis |
|---|---|
|
Package clientinfo turns the client-identity dial parameters (R59, docs/61 D1) into metric label values from a closed vocabulary.
|
Package clientinfo turns the client-identity dial parameters (R59, docs/61 D1) into metric label values from a closed vocabulary. |
|
Package cluster implements the per-broadcast origin registry (R17 W3, docs/22 Decision 8): one Kubernetes Lease per broadcast, named gawk-bc-<id>, holder = pod name, annotations carrying the origin's dialable pod address and an originGeneration counter bumped on every claim.
|
Package cluster implements the per-broadcast origin registry (R17 W3, docs/22 Decision 8): one Kubernetes Lease per broadcast, named gawk-bc-<id>, holder = pod name, annotations carrying the origin's dialable pod address and an originGeneration counter bumped on every claim. |
|
Package config holds the server configuration and its flag/env parsing.
|
Package config holds the server configuration and its flag/env parsing. |
|
Package eventbus publishes relay lifecycle events to an operator-provided NATS JetStream (R50, docs/51).
|
Package eventbus publishes relay lifecycle events to an operator-provided NATS JetStream (R50, docs/51). |
|
Package hub implements the relay's pub/sub core: a registry of broadcast sessions, where each broadcast has a publisher fanning encoded video out to a small set of subscribers.
|
Package hub implements the relay's pub/sub core: a registry of broadcast sessions, where each broadcast has a publisher fanning encoded video out to a small set of subscribers. |
|
Package mediaprobe reads a broadcast's codec family and coded resolution out of the media the relay already carries (R59, docs/61 D2): the codec string of a DecoderConfig, the SPS of an H.264 stream (AVCC extradata or an in-band Annex B NAL), and the keyframe headers of VP8 and VP9.
|
Package mediaprobe reads a broadcast's codec family and coded resolution out of the media the relay already carries (R59, docs/61 D2): the codec string of a DecoderConfig, the SPS of an H.264 stream (AVCC extradata or an in-band Annex B NAL), and the keyframe headers of VP8 and VP9. |
|
Package metrics owns everything Prometheus (R9, docs/13): the base registry (runtime collectors + build info), the hub registry collector, and the transport-layer connection counters.
|
Package metrics owns everything Prometheus (R9, docs/13): the base registry (runtime collectors + build info), the hub registry collector, and the transport-layer connection counters. |
|
Package moderationsrc feeds a moderation.Set from the configured ban source (R39 AP2, docs/42 §4.3): a Kubernetes informer on Ban CRs, a JSON file, or nothing at all.
|
Package moderationsrc feeds a moderation.Set from the configured ban source (R39 AP2, docs/42 §4.3): a Kubernetes informer on Ban CRs, a JSON file, or nothing at all. |
|
Package ops serves the plain-TCP HTTP operations endpoint (R9 M1, docs/13): /metrics (Prometheus), /healthz, and /statusz.
|
Package ops serves the plain-TCP HTTP operations endpoint (R9 M1, docs/13): /metrics (Prometheus), /healthz, and /statusz. |
|
Package pubsim is the synthetic fixture publisher behind cmd/gawk-pubsim (R20, docs/25 Decision 3): the committed H.264 fixture demuxed into access units once, then looped through the real engine at a live pace.
|
Package pubsim is the synthetic fixture publisher behind cmd/gawk-pubsim (R20, docs/25 Decision 3): the committed H.264 fixture demuxed into access units once, then looped through the real engine at a live pace. |
|
engine
Package engine publishes encoded media to the relay using the same publisher protocol the browser broadcaster speaks — byte for byte, via the shared gawk-server/wire package.
|
Package engine publishes encoded media to the relay using the same publisher protocol the browser broadcaster speaks — byte for byte, via the shared gawk-server/wire package. |
|
fixture
Package fixture holds the committed H.264 MPEG-TS test stream (see README.md for its provenance and the properties tests depend on).
|
Package fixture holds the committed H.264 MPEG-TS test stream (see README.md for its provenance and the properties tests depend on). |
|
mpegts
Package mpegts is a deliberately minimal MPEG-TS demuxer: enough to recover access-unit boundaries from the GStreamer child's stdout, and nothing more.
|
Package mpegts is a deliberately minimal MPEG-TS demuxer: enough to recover access-unit boundaries from the GStreamer child's stdout, and nothing more. |
|
opus
Package opus reads the one byte of an Opus packet that describes the packet: its TOC (RFC 6716 §3.1).
|
Package opus reads the one byte of an Opus packet that describes the packet: its TOC (RFC 6716 §3.1). |
|
Package roomcluster is the cluster-mode half of rooms (R42, docs/44 §4.3, §4.5, RM3): the Room custom resource as the fleet's shared truth, and the home-pod lease on its status with the R17 origin-lease semantics (internal/cluster) — claim, generation CAS, renew, release on drain, force-take on a stale lease, a leaderless janitor.
|
Package roomcluster is the cluster-mode half of rooms (R42, docs/44 §4.3, §4.5, RM3): the Room custom resource as the fleet's shared truth, and the home-pod lease on its status with the R17 origin-lease semantics (internal/cluster) — claim, generation CAS, renew, release on drain, force-take on a stale lease, a leaderless janitor. |
|
Package roomsrc feeds static room definitions into the room registry (R42, docs/44 §4.3 "non-cluster mode"): a JSON file of rooms.FileRoom entries, reloaded on change and on SIGHUP.
|
Package roomsrc feeds static room definitions into the room registry (R42, docs/44 §4.3 "non-cluster mode"): a JSON file of rooms.FileRoom entries, reloaded on change and on SIGHUP. |
|
Package roomsrv is the relay's room registry (R42, docs/44 §4.4–4.7, RM2): the control-plane state a room is made of — attachments, participants, grants, the empty grace, the limits — and the fan-out of RoomState / RoomEvent records to every control session.
|
Package roomsrv is the relay's room registry (R42, docs/44 §4.4–4.7, RM2): the control-plane state a room is made of — attachments, participants, grants, the empty grace, the limits — and the fan-out of RoomState / RoomEvent records to every control session. |
|
Package tlsutil provides the two certificate paths the server supports: ephemeral self-signed dev certificates that Chromium accepts for WebTransport, and file-backed certificates (e.g.
|
Package tlsutil provides the two certificate paths the server supports: ephemeral self-signed dev certificates that Chromium accepts for WebTransport, and file-backed certificates (e.g. |
|
Edge pull (docs/22): when a viewer lands on a pod that is not a broadcast's origin, the pod subscribes upstream — dialing the origin's pod IP from the Lease, never the Service VIP (which could loop back) — and re-ingests everything into a local edge hub through the ordinary Publisher surface, datagrams and keyframe streams verbatim, so store-and-forward and supersede compose per hop.
|
Edge pull (docs/22): when a viewer lands on a pod that is not a broadcast's origin, the pod subscribes upstream — dialing the origin's pod IP from the Lease, never the Service VIP (which could loop back) — and re-ingests everything into a local edge hub through the ordinary Publisher surface, datagrams and keyframe streams verbatim, so store-and-forward and supersede compose per hop. |
Click to show internal directories.
Click to hide internal directories.