core/homeassistant/components/stream
Allen Porter e895b6cd42
Refactor decompression timestamp validation logic in stream component (#52462)
* Refactor dts validation logic into a separate function

Create a decompression timestamp validation function to move the logic out of
the worker into a separate class. This also uses the python itertools.chain
to chain together the initial packets with the remaining packets in the
container iterator, removing additional inline if statements.

* Reset dts validator when container is reset

* Fix typo in a comment

* Reuse existing dts_validator when disabling audio stream
2021-07-07 15:29:15 -07:00
..
__init__.py Improve type hints in stream (#51837) 2021-06-14 23:59:25 +08: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
recorder.py Improve type hints in stream (#51837) 2021-06-14 23:59:25 +08:00
worker.py Refactor decompression timestamp validation logic in stream component (#52462) 2021-07-07 15:29:15 -07:00