You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I enable the "Use Frigate-native WebRTC support" option in the HA integration, one of my cameras doesn't want to stream anymore. Turning the option off fixes the issue, although camera feed is slower to load.
In the log below the camera is named front_yard_cam. It is Reolink with H265 stream.
Another camera (Reolink Doorbell) with H264 stream works fine.
Version of the custom_component
5.5.1
Error
2024-11-30 13:49:21.141 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140252426135312] Error handling message: Unknown error (unknown_error) **REDACTED** from **REDACTED** (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/camera/webrtc.py", line 263, in ws_webrtc_offer
await camera.async_handle_async_webrtc_offer(offer, session_id, send_message)
File "/config/custom_components/frigate/camera.py", line 455, in async_handle_async_webrtc_offer
answer = await resp.json()
^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 80, in json
return await super().json(*args, loads=loads, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1278, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 500, message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url='http://**REDACTED**:5000/api/go2rtc/webrtc?src=front_yard_cam'
it uses Frigate's internal go2rtc for exporting the webrtc stream vs using Frigate's internal go2rtc RTSP stream and then having HomeAssistant use its internal go2rtc to remux that to webrtc
When I enable the "Use Frigate-native WebRTC support" option in the HA integration, one of my cameras doesn't want to stream anymore. Turning the option off fixes the issue, although camera feed is slower to load.
In the log below the camera is named
front_yard_cam
. It is Reolink with H265 stream.Another camera (Reolink Doorbell) with H264 stream works fine.
Version of the custom_component
5.5.1
Error
Debug log
The text was updated successfully, but these errors were encountered: