RTCPeerConnection is not a constructor
I have the error : RTCPeerConnection is not a constructor on the log file:
`2023-04-08 10:58:53.707 ERROR (MainThread) [frontend.js.latest.202304061] https://tecnometal.tk/webrtc/video-rtc.js?v3.0.1:435:20 Uncaught TypeError: RTCPeerConnection is not a constructor
2023-04-08 10:59:04.316 ERROR (MainThread) [frontend.js.latest.202304061] https://tecnometal.tk/webrtc/video-rtc.js?v3.0.1:435:20 Uncaught TypeError: RTCPeerConnection is not a constructor
2023-04-08 10:59:23.369 ERROR (MainThread) [frontend.js.latest.202304061] https://tecnometal.tk/webrtc/video-rtc.js?v3.0.1:435:20 Uncaught TypeError: RTCPeerConnection is not a constructor
2023-04-08 10:59:27.221 ERROR (MainThread) [frontend.js.latest.202304061] https://tecnometal.tk/webrtc/video-rtc.js?v3.0.1:435:20 Uncaught TypeError: RTCPeerConnection is not a constructor
2023-04-08 11:01:31.173 ERROR (MainThread) [frontend.js.latest.202304061] htRTCPeerConnection is not a constructor `
Same in the browser (Chrome).

I have go2rts, frigate and webrtc installed. I cant see the camera stream (even if I use url sorce or entity from frigate). The camera works fine if I use an HA picture glance.
What browser you using? Maybe you block WebRTC with some extension?
I use Chrome, the browser should be ok, because I have another HA installation with Webrtc cam installed and it works fine.
Hey @flayy73 were you able to solve the issue ? Thanks
Hi @sfroment , Yes,the problem was the camera. I change it and than everithiings worked fine.
Thanks !
Looks like problem resolved