Media traffic ports range is set using the following parameters in flashphoner.properties file
media_port_from=31001 media_port_to=32000 |
By default, only even ports will be used from this range, in this case, 499 ports are available.
Two media ports are used per one WebRTC connection if client does not support RTP bundle or this feature is desibled on server side
rtp_bundle=false |
Therefore, one port is used by default for WebRTC stream publishing/playing in modern browsers.
Since build 5.2.763, medai ports range can be expanded if necessary by using odd ports with the following parameter
compact_media_port_usage=true |
There are some known limits in this case: