Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, Callable[[], Mapping[str, StreamOutput]] outputs_callback, Diagnostics diagnostics) |
| Diagnostics | diagnostics (self) |
| None | discontinuity (self) |
| int | next_sequence (self) |
| list[StreamOutput] | outputs (self) |
| int | sequence (self) |
| int | stream_id (self) |
Public Attributes | |
| hass | |
Private Attributes | |
| _diagnostics | |
| _sequence | |
Responsible for trakcing output and playback state for a stream. Holds state used for playback to interpret a decoded stream. A source stream may be reset (e.g. reconnecting to an rtsp stream) and this object tracks the state to inform the player.
| None homeassistant.components.stream.worker.StreamState.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| Callable[[], Mapping[str, StreamOutput]] | outputs_callback, | ||
| Diagnostics | diagnostics | ||
| ) |
| Diagnostics homeassistant.components.stream.worker.StreamState.diagnostics | ( | self | ) |
| None homeassistant.components.stream.worker.StreamState.discontinuity | ( | self | ) |
| int homeassistant.components.stream.worker.StreamState.next_sequence | ( | self | ) |
| list[StreamOutput] homeassistant.components.stream.worker.StreamState.outputs | ( | self | ) |
| int homeassistant.components.stream.worker.StreamState.sequence | ( | self | ) |
| int homeassistant.components.stream.worker.StreamState.stream_id | ( | self | ) |
|
private |
|
private |