I am new to webRTC. I am trying to make a skype like calling app in android using webRTC. I am using NextRTC in Spring Boot as an example server. I have the server on http. I have hacked the android by using an example page (room.html) from the nextRTC example. Everything was fine in the login and all but when I try to connect with the websocket from the webView it gives this error.
WebSocket connection to 'ws://192.168.1.2:8090/signaling' failed: Error during WebSocket handshake: Unexpected response code: 302
In room.html the url can be found at line 30, from where I am getting this error.
NextRTC has WebSecurityConfig.java file which actually redirects the unauthentic URLs to login page and that redirection caused this error. I have omitted that code and finally everything is working.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With