I've tested using WebRTC Stream Manager in several occasions of web streaming demo, however, I failed to demo video stream via webRTC seemingly due to P2P connection cannot find the right IP.
While using less stable network (mobile hotspot in a crowded area) to connect with NX server, the webRTC websocket's SDP shows two types of ICE candidates:
- type srflx
- typ relay
From my understanding, these SDP messages means the webRTC manager uses either STUN or TURN server to help with the P2P connection. However, it still failed to make connection to show video streams.
Is there any way I could fix this problem? A lot of time I'll be in the situation where less stable network connection is expected, and I want to be able to use webRTC to demo video stream because of the low latency advantage.