Skip to main content

Module stream_surface

Module stream_surface 

Source
Expand description

Stream metadata and packet events: the contract for stream transport.

The kernel defines the stream predicate vocabulary and the packet/frame event shapes; concrete stream transports and clocks live in library crates.

Functions§

publish_stream_metadata_claims
Records the stream kind plus the given metadata predicates as facts, once.
remote_stream_frame_event
Builds a remote stream frame event; an alias for stream_packet_event.
stream_clock_predicate
Predicate symbol naming a stream’s clock (stream/clock).
stream_codec_predicate
Predicate symbol naming a stream’s payload codec (stream/codec).
stream_kind
Card-kind symbol marking a ref as a stream (core/stream).
stream_packet_event
Builds a stream packet event whose payload is a content or handle ref.
stream_transport_predicate
Predicate symbol naming a stream’s transport (stream/transport).