Debugging WebRTC flow with WebApp & unity3d

I’ve set up my own instance of the WebApp (hosted on AWS) along with my own coturn server.

Using the URP streaming sample on one machine and a browser (browsing to the WebApp via its public DNS name) on another machine, the stream never succeeds.

I am configuring ICE servers as both STUN & TURN using a username/password (which both work according to the ICE-trickle test)

In the browser, the webrtc information (e.g. about:webrtc in firefox) shows that a local & remote SDP offer is present but ICE never succeeds (or is attempted).

If the unity3d app and the web browser are on the same machine, it works fine and a stream starts.

My question is: How do I go about debugging the entire flow so that I can determine the cause of the failing stream?

1 Like

Generally, the cause of the failure of the signaling process is a firewall. You can check the signaling while firewall is turned off.
And you can test between two browsers.