First Notes Testing ICE Candidate Gathering and Audio Routing on Mobile

Hello everyone, I’m new to the react-native-webrtc community and have been testing peer connection setup between mobile emulators and physical devices on a local network. Logging ICE gathering states and signaling messages with timestamps made it much easier to see where connection handshakes were stalling behind restrictive NATs.

One practical detail I noticed early on is how differently iOS and Android handle audio session switching when moving between speakerphone and headset routes during an active call. Testing foreground-to-background transitions on real hardware rather than relying solely on simulators caught a few subtle media stream cleanup issues right away.

Right now I’m reviewing clean patterns for tearing down peer connections and local tracks reliably on screen unmount. Looking forward to learning from everyone’s real-world debugging notes here.