hass-core/homeassistant/components/stream
Allen Porter 022ba31999
Refactor the logic for peeking into the start of the stream (#52699)
* Reset dts validator when container is reset

* Reuse existing dts_validator when disabling audio stream

* Refactor peek logic at the start of a stream

Add a PeekingIterator to support rewinding an iterator so that the code
for adjusting audio streams and start pts can be inlined in the worker.

* Simplification and readability improvements

* Remove unnecessary verbiage from comments and pydoc

* Address pylint errors

* Remove rewind function and just mux the first packet separately

* More cleanup after removing rewind()

* Skip check to self._buffer on every iteration
2021-07-27 08:53:42 -07:00
..
__init__.py Move recorder.py import to runtime (#52682) 2021-07-08 09:20:27 +02:00
const.py Refactor stream to create partial segments (#51282) 2021-06-14 00:41:21 +08:00
core.py Clean up stream refactor (#51951) 2021-06-20 13:38:02 +08:00
fmp4utils.py Clean up stream refactor (#51951) 2021-06-20 13:38:02 +08:00
hls.py Clean up stream refactor (#51951) 2021-06-20 13:38:02 +08:00
manifest.json Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
recorder.py Improve type hints in stream (#51837) 2021-06-14 23:59:25 +08:00
worker.py Refactor the logic for peeking into the start of the stream (#52699) 2021-07-27 08:53:42 -07:00