Try first with the local Darwin Streaming server installed on your local network. Therefore, the firewall does not matter. The stream will work.
If you want to try from an external server, then:
1) Check the client_ports mentioned in the SERVER response, some servers offer different ports from the requested one. You must use the ports offered by the server.
2) If the ports are correct, you can send empty packets of 64 bytes from each of the UDP ports to the server (the so-called "door openers").
3) If the above two cannot be fixed, check the server logs. The server may close UDP ports.
Shreesh
source share