nguymin4 / react-videocall

WebRTC-React App for Video Calling
https://morning-escarpment-67980.onrender.com/
MIT License
574 stars 251 forks source link

this.pc.setRemoteDescription is not a function #10

Closed drunkendaddy closed 5 years ago

drunkendaddy commented 5 years ago

I'm able to call the other party. But accepting the call I'm getting this error:

this.pc.setRemoteDescription is not function

in app.js line 34;

I'm trying to get this to work on two browser windows on the same computer.

nguymin4 commented 5 years ago

Hi, I cannot reproduce the bug. And you tried with 2 browser windows but same type (Chrome, Firefox) right?

drunkendaddy commented 5 years ago

I was testing by putting all your js files into my own project. I was loading your app.js component from another component in my project. So I had to remove

render(<VideoChat/>, document.getElementById('root'));

from app.js to get it to working.

You may close this issue.