BaseOutputTransport: always initialize audio task

We also use the audio task to also send synchronized images with audio.
This commit is contained in:
Aleix Conchillo Flaqué
2025-05-02 14:23:15 -07:00
parent e6aadaccd8
commit 7152faafb2

View File

@@ -369,7 +369,7 @@ class BaseOutputTransport(FrameProcessor):
#
def _create_audio_task(self):
if not self._audio_task and self._params.audio_out_enabled:
if not self._audio_task:
self._audio_queue = asyncio.Queue()
self._audio_task = self._transport.create_task(self._audio_task_handler())