Allocation parameter, which can be given when application calls pj_turn_session_alloc() to allocate relay address in the TURN server. Application should call pj_turn_alloc_param_default() to initialize this structure with the default values.
The requested ADDRESS-FAMILY. Default is zero to request relay with address family matched to the one specified in TURN session creation. Valid values are zero, pj_AF_INET(), and pj_AF_INET6().
Default value is zero.
The requested BANDWIDTH. Default is zero to not request any specific bandwidth. Note that this attribute has been deprecated after TURN-08 draft, hence application should only use this attribute when talking to TURN-07 or older version.
If set to non-zero, the TURN session will periodically send blank Send Indication every PJ_TURN_KEEP_ALIVE_SEC to refresh local NAT bindings. Default is zero.
The requested LIFETIME. Default is zero to not request any explicit allocation lifetime.
Type of connection to from TURN server to peer. Supported values are PJ_TURN_TP_UDP (RFC 5766) and PJ_TURN_TP_TCP (RFC 6062)
Default is PJ_TURN_TP_UDP.
The documentation for this struct was generated from the following file: