Changing the default udp port from 6970-9999 to sth else

Is there a way to change the default udp port range of 6970-9999 to like 7700-7750 ?
I am just curious if this is possible

Thaank you

Hi Sam,

Thanks for your question, and I must apologize for the delay in getting back to you. We could definitely use some spark in this community,

Now for your question. For incoming UDP streams, Wowza Streaming Engine tries to use ports 6970 to 9999, but in many cases, it’s best to open all UDP ports (0 to 65535) for RTSP/RTP streaming. But in your case where you want to restrict the port range to 7700-7750.

You can set the starting port for Wowza Streaming Engine.`Using a text editor, in your Server.xml located in the Conf folder of your Wowza installation directory.

<RTP>
<DatagramStartingPort>7700</DatagramStartingPort>
</RTP> 

If you set DatagramStartingPort, all UDP ports lower than 7700 will not be used. However, restricting the range to 7750 can be done on the network side and not on the Wowza Streaming Engine.

For reference: https://www.wowza.com/docs/wowza-streaming-engine-serverxml-configuration-reference

I hope this brightens things up and clarifies your query. Wishing you all the best with your implementation, and feel free to reach out if you have more questions!

Cheers,

Umair Siddiqi
Community Enthusiast