Apprtcdemo With Local Server Works Between Browsers But Not Android Native To Browser
I am developing a chat application and done with it. Now I want to implement video chat also. After research a lot I decided to go with 'WebRTC' library. What I have done? 1) Able
Solution 1:
Sadly I don't know if you have done these things:
- Use the SAME stun and turn server on every application (wether PC or mobile).
- Are you even sending the ICE candidates between the applications (I think you do, but just to verify).
- Are you sure that the STUN/TURN url are the ones that give the error, as I can't believe that these things do about cross-origins (they shouldn't, as you are just connecting from a client to a server. Cross origin is mostly 'used' on web pages that load data from an external source. You aren't allowed to do that from an XHR). I am really thinking it has something to do with
https://apprtc.appspot.com/_ah/channel/jsapi
, as this is a good example of cross origin stuff.
What if you open the web page that is working in your chrome browser on mobile? What does it do then? (note that you can connect your phone to your pc to have the full developer tools chrome has. Chrome runs on your android device but you can see the devtools on your pc).
If you can provide me these answers I might be able to help you. Try to revert all those changes and just use google's TURN server, but only make that https://apprtc.appspot.com/_ah/channel/jsapi
file local.
EDIT: I see you found your answer. Would you mind to share it?
Post a Comment for "Apprtcdemo With Local Server Works Between Browsers But Not Android Native To Browser"