| 1 | The port start and range can be specified via: |
| 2 | - In PJSUA level: {{{pjsua_acc_config.rtp_cfg.port}}} and {{{pjsua_acc_config.rtp_cfg.port_range}}} |
| 3 | - In PJNATH level: |
| 4 | - STUN socket: port start uses the port value specified in {{{pj_stun_sock_cfg.bound_addr}}} and range in {{{pj_stun_sock_cfg.port_range}}} |
| 5 | - TURN socket: port start uses the port value specified in {{{pj_turn_sock_cfg.bound_addr}}} and range in {{{pj_turn_sock_cfg.port_range}}} |
| 6 | - ICE stream transport: same as above, via {{{pj_ice_strans_cfg.stun/turn.cfg}}} |
| 7 | |
| 8 | See the docs for more info. |