Skip to main content

Module stream_network

Module stream_network 

Source
Expand description

Native producer/Streams carrier admission and lifecycle. Native Streams origins. Carrier admission is independent of stream payload authentication and MAC authorization performed by the producing RPC service.

Structs§

StreamsNetworkService
Owns an independent rendezvous origin. It advertises transport capability, never ownership of tracks living on Registry/Model/TUI producer endpoints.

Functions§

production_stream_admission
Current accepted identity and derived tenant assignment, never carrier identity. Authentication runs on the per-DID accepted-state authority; the tenant resolver runs over the roster-wide derivation (#1652): a factory service entry held UNIQUELY across the store ⇒ local, everything else — foreign records, ambiguous names — unresolved/deny. No DID-valued config to go stale at identity churn.
stream_ingress_authorizer
Tenant admission never grants publishing. quic.stream_publishers is a deliberately-empty DID set (no production writer; empty = read-only, and an empty set cannot go stale — #1652 leaves it untouched). The tenant itself is re-derived from the live roster on every check, so removing a peer from the deployment roster — or a squatter making its name ambiguous — is effective on the next recheck without a restart.