hass-core/tests/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 Live Streams Component (#21473) 2019-03-11 19:57:10 -07:00
common.py Speed up record stream audio test (#51901) 2021-06-15 14:27:53 -04:00
conftest.py Refactor stream to create partial segments (#51282) 2021-06-14 00:41:21 +08:00
test_hls.py Clean up stream refactor (#51951) 2021-06-20 13:38:02 +08:00
test_recorder.py Speed up record stream audio test (#51901) 2021-06-15 14:27:53 -04:00
test_worker.py Refactor the logic for peeking into the start of the stream (#52699) 2021-07-27 08:53:42 -07:00