index/interfaces/StreamStatusEvent.md
WebSocket event: stream_status
Emitted when stream status changes (goes live, ends, or status changes). This is the PRIMARY event for real-time stream state updates.
Since
5.1.0 - Added based on backend review (HIGH PRIORITY)
Properties
| Property | Type | Description |
|---|---|---|
aspectRatio? | string | Video aspect ratio (e.g., "16:9", "9:16") Only present when stream becomes ACTIVE, cleared when IDLE Since 5.5.0 |
isLive | boolean | Whether stream is currently live |
playbackId | string | null | Playback ID (null when not active) |
status | StreamStatus | Current stream status |
tokenName | string | Token name (lowercase) |
aspect ratio is live playback id stream status token name