Fix camera mjpeg stream handling (#18076)
* Fix handle_async_mjpeg_stream * Lint
This commit is contained in:
1 parent
32ee4f0714
commit
f516550f9f
10 files changed
+52
-39
No files matched your search
@@ -134,8 +134,7 @@ class MjpegCamera(Camera):
|
||||
"""Generate an HTTP MJPEG stream from the camera."""
|
||||
# aiohttp don't support DigestAuth -> Fallback
|
||||
if self._authentication == HTTP_DIGEST_AUTHENTICATION:
|
||||
await super().handle_async_mjpeg_stream(request)
|
||||
return
|
||||
return await super().handle_async_mjpeg_stream(request)
|
||||
|
||||
# connect to stream
|
||||
websession = async_get_clientsession(self.hass)
|
||||
|
||||
Reference in new issue
Block a user