Im using the RTSPtoWeb standalone Docker, not add-on. Hope its ok to post here as this seems to be where all the RTSPtoWeb discussion is.
I can setup the integration fine and it discovers the RTSPtoWeb server, but when I open a camera stream I get error Error handling WebRTC offer: RTSPtoWeb server returned malformed payload: None
I have a slightly more advanced network setup and possibly have something misconfigured. Cameras are on a seperate VLAN, but Home Assistant and RTSPtoWeb are on same VLAN. Im not able to run RTSPtoWeb in host mode, but have TCP ports 8083 and 5541 mapped, along with UDP 30000-40000. RTSPtoWeb is configured to use that port range.
If I set up a camera in RTSPtoWeb, all works and I can stream via Web UI.
I have debug logging enabled for homeassistant.components.rtsp_to_webrtc, homeassistant.components.camera, and rtsp_to_webrtc. All I see in the log is:
2023-03-26 11:57:20.799 DEBUG (MainThread) [rtsp_to_webrtc.web_client] request[get] http://192.168.1.228:8083/streams
2023-03-26 11:57:20.803 DEBUG (MainThread) [rtsp_to_webrtc.web_client] response <ClientResponse(http://192.168.1.228:8083/streams) [200 OK]>
<CIMultiDictProxy('Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Headers': 'Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization, accept, origin, Cache-Control, X-Requested-With', 'Access-Control-Allow-Methods': 'POST, OPTIONS, GET, PUT, DELETE', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8', 'Date': 'Sun, 26 Mar 2023 15:57:20 GMT', 'Content-Length': '40')>
2023-03-26 11:57:20.803 ERROR (MainThread) [homeassistant.components.camera] Error handling WebRTC offer: RTSPtoWeb server returned malformed payload: None
Any thoughts on what the issue might be or next steps to troubleshoot? Im not totally clear on the networking requirements for this integration. The fact it works via RTSPToWeb UI makes me think my Docker / networking configuration is not the issue though.
Also, just to confirmā¦ I donāt need to manually configure streams in RTSPtoWeb, right? It seems the integration takes care of out?