mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix ESPHome media proxy exit criteria (#129267)
This commit is contained in:
parent
88f0a33e69
commit
2888e5748e
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user