WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

RTCPeerConnection is not a constructor

Open flayy73 opened this issue 3 years ago • 6 comments

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).

image

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.

flayy73 avatar Apr 08 '23 09:04 flayy73

What browser you using? Maybe you block WebRTC with some extension?

AlexxIT avatar Apr 08 '23 16:04 AlexxIT

I use Chrome, the browser should be ok, because I have another HA installation with Webrtc cam installed and it works fine.

flayy73 avatar Apr 10 '23 07:04 flayy73

Hey @flayy73 were you able to solve the issue ? Thanks

sfroment avatar Dec 22 '24 14:12 sfroment

Hi @sfroment , Yes,the problem was the camera. I change it and than everithiings worked fine.

flayy73 avatar Dec 24 '24 07:12 flayy73

Thanks !

sfroment avatar Dec 24 '24 07:12 sfroment

Looks like problem resolved

AlexxIT avatar Dec 24 '24 11:12 AlexxIT