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
NextRTC has WebSecurityConfig.java file which actually redirects the unauthentic URLs to login page and that redirection caused this error. I have emitted that code and finally everything is working.