mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 22:25:13 +02:00
Fix ESPHome media proxy exit criteria
This commit is contained in:
@@ -181,7 +181,6 @@ class FFmpegConvertResponse(web.StreamResponse):
|
|||||||
self.hass.is_running
|
self.hass.is_running
|
||||||
and (request.transport is not None)
|
and (request.transport is not None)
|
||||||
and (not request.transport.is_closing())
|
and (not request.transport.is_closing())
|
||||||
and (proc.returncode is None)
|
|
||||||
and (chunk := await proc.stdout.read(self.chunk_size))
|
and (chunk := await proc.stdout.read(self.chunk_size))
|
||||||
):
|
):
|
||||||
await writer.write(chunk)
|
await writer.write(chunk)
|
||||||
|
Reference in New Issue
Block a user