Fix ffmpeg v4 stream issue (#20314)
* Add ffmpeg version * Add ffmpeg stream content type * Change ffmpeg camera stream content type * Change ffmpeg stream content type * Lint * Add a none guard * Fix * Fix * Update onvif.py * Fix version match regrex * Fix regrex * Upgrade ha-ffmpeg to 1.11 * Lint * Get ffmpeg version in ffmpeg component setup
This commit is contained in:
parent
a40c5bf70e
commit
7455d950b1
11 changed files with 41 additions and 12 deletions
|
@ -68,7 +68,7 @@ class FFmpegCamera(Camera):
|
|||
try:
|
||||
return await async_aiohttp_proxy_stream(
|
||||
self.hass, request, stream,
|
||||
'multipart/x-mixed-replace;boundary=ffserver')
|
||||
self._manager.ffmpeg_stream_content_type)
|
||||
finally:
|
||||
await stream.close()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue