node-webrtc / node-webrtc-examples

MediaStream and RTCDataChannel examples using node-webrtc
508 stars 161 forks source link

TypeError: RTCPeerConnection is not a constructor #34

Closed helloitsm3 closed 3 years ago

helloitsm3 commented 4 years ago

I'm having this error when trying to start any one of the examples that's provided.

image

markandrus commented 4 years ago

Please check if you have any browser plugins that disable WebRTC. Some plugins disable WebRTC for privacy reasons. You may also share your browser version…

helloitsm3 commented 4 years ago

Please check if you have any browser plugins that disable WebRTC. Some plugins disable WebRTC for privacy reasons. You may also share your browser version…

I disabled it and I'm using the latest version of Firefox

markandrus commented 4 years ago

If you mean you disabled WebRTC, it won't work. Otherwise, what do you mean disabled "it"? Separately from this project, you might just try running the following in your browser's console to ensure you can use the WebRTC APIs.

image
helloitsm3 commented 4 years ago

If you mean you disabled WebRTC, it won't work. Otherwise, what do you mean disabled "it"? Separately from this project, you might just try running the following in your browser's console to ensure you can use the WebRTC APIs.

image

Sorry I meant I disabled all the extensions that is blocking WebRTC.

markandrus commented 3 years ago

Did you try running the test I mentioned? Type new RTCPeerConnection into your browser console to see if it works?

Anyway, I cannot triage without more information. Please re-open if you have anything new to share.

helloitsm3 commented 3 years ago

Did you try running the test I mentioned? Type new RTCPeerConnection into your browser console to see if it works?

Anyway, I cannot triage without more information. Please re-open if you have anything new to share.

Hi, I've tried it and it works.Thank you 👍