Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1602 closed enhancement (fixed)

Configurable local port range for ICE transport

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.1
Component: pjnath Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by nanang)

The ICE transport addresses will use random port numbers in a limited range started from the specified port start.

The port start and range can be specified via:

  • In PJSUA level: pjsua_acc_config.rtp_cfg.port and pjsua_acc_config.rtp_cfg.port_range
  • In PJNATH level:
    • 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
    • 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
    • ICE stream transport: same as above, via pj_ice_strans_cfg.stun/turn.cfg

See the docs for more info.

Change History (4)

comment:1 Changed 12 years ago by nanang

  • Description modified (diff)

comment:2 Changed 12 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed

In 4343:

Close #1602: configurable local port range for ICE transport.

comment:3 Changed 12 years ago by nanang

  • Description modified (diff)

comment:4 Changed 12 years ago by ming

Related to #1682 for configurable local port range of UDP media transport.

Note: See TracTickets for help on using tickets.