From fef21c02eedc757eb41114dd655c08c0c8952761 Mon Sep 17 00:00:00 2001 From: uvjustin <46082645+uvjustin@users.noreply.github.com> Date: Tue, 28 Jun 2022 07:56:10 +0800 Subject: [PATCH] Clean up disabling audio in stream (#74038) --- homeassistant/components/stream/worker.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/homeassistant/components/stream/worker.py b/homeassistant/components/stream/worker.py index 4cfe8864de0..1d29bd17c33 100644 --- a/homeassistant/components/stream/worker.py +++ b/homeassistant/components/stream/worker.py @@ -473,10 +473,6 @@ def stream_worker( audio_stream = None if audio_stream and audio_stream.name not in AUDIO_CODECS: audio_stream = None - # These formats need aac_adtstoasc bitstream filter, but auto_bsf not - # compatible with empty_moov and manual bitstream filters not in PyAV - if container.format.name in {"hls", "mpegts"}: - audio_stream = None # Some audio streams do not have a profile and throw errors when remuxing if audio_stream and audio_stream.profile is None: audio_stream = None