go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

"WebRTC offer was not accepted by any providers" for UniFi Protect camera entities

Open saxopwn opened this issue 1 year ago • 1 comments

Migrating from the WebRTC project so I removed that integration via HACS, installed the go2rtc add-on, and installed the RTSPtoWebRTC integration. Have not created a config file per the instructions.

I have a single Wyze pan cam (running the RTSP firmware) already set up in HA- this works fine and is immediately available in go2rtc. I have five UniFi RTSPS cameras in HA (via the UniFi Protect integration) that used to work- now when I attempt to open a stream I see "Failed to start WebRTC stream: WebRTC offer was not accepted by any providers" and the go2rtc logs show ""x509: certificate has expired or is not yet valid: current time 2022-09-21T20:10:50-05:00 is after 2022-09-06T18:53:46Z."

Is my only option to add these as RTSPX via the config? Can I even do this if it's running as an add-on?

saxopwn avatar Sep 22 '22 01:09 saxopwn

Could it be it's because it's trying to verify the SSL certificate? Did you disable the check in 'generic camera'?

fribse avatar Oct 23 '22 08:10 fribse

I've tried adding Unifi cameras as generic integration, RTSPS, ignoring SSL certificate. I've encountered the same issue when enabling go2rtc and RTSPtoWebRTC "Failed to start WebRTC stream: WebRTC offer was not accepted by any providers".

dw0rak avatar Nov 08 '22 17:11 dw0rak