I wrote an app on Android that creates a signalling 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. I don’t use any TURN or STUN servers.
How is the wifi network different from Android AP network and how can I find out what the reason for iceConnectionState failed is? Is there something like chrome://webrtc-internals/ in RN?