Open ultimatee opened 4 years ago
@ultimatee Maybe you should try other iceServer. Try this one http://numb.viagenie.ca/
Actually I am not using any iceServer and it works over normal Wi-Fi, but not Android Hotspot. In the browser realm there is chrome://webrtc-internals/, is there a way to debug webrtc signalling in React Native?
Also, my aim is to not use data connection at all, just Android Hotspot (avoiding the roaming expenses). The app will only be used at close range.
@ultimatee Have you find any solutions?
@DimitrisTzimikas No, it doesn't seem to connect when one party has
the Android Hotspot enabled.
Dimitris Tzimikas je 27/02/2020 ob
12:02 napisal:
@ultimatee
Have you find any solutions?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
[
{ "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/DimitrisTzimikas/RCTWebRTCDemo2/issues/6?email_source=notifications\u0026email_token=AADBB4KCO6SRA7AXYJVO7SDRE6MUVA5CNFSM4I56HKC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEND5XFQ#issuecomment-591911830", "url": "https://github.com/DimitrisTzimikas/RCTWebRTCDemo2/issues/6?email_source=notifications\u0026email_token=AADBB4KCO6SRA7AXYJVO7SDRE6MUVA5CNFSM4I56HKC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEND5XFQ#issuecomment-591911830", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
I used this demo, but for signalling server I wrote a function that creates the server on the first phone, which has Android Hotspot (AP) enabled. The other phone is connected to this AP. The app on the phones connect to this server and exchange the Offer, Answer and ICE candidates, but then the iceConnectionState goes from checking to failed and the streams don't get exchanged.
If I connect both phones to the same local network (no Android Hotspot), the same exchange takes place and the streams get exchanged successfully.
How is the wifi network different from Android AP network and how can I find out what the reason for iceConnectionState failed is?