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.