Skip to main content

pulse_pixelstream_types/
stream.rs

1use myko::prelude::*;
2use myko_macros::myko_item;
3
4/// A stream people tune into (keyed by the pixelstreaming StreamerId). `name` is a
5/// friendly DISPLAY label sourced from the cluster def (`previs.stream_name`) and
6/// written on launch; the StreamerId stays the unique routing key, so two streams may
7/// share a `name` with no collision. Empty `name` → the frontend falls back to the id.
8#[myko_item]
9pub struct Stream {
10    #[serde(default)]
11    pub name: String,
12}