Ignore:
Timestamp:
Jun 19, 2013 9:06:55 AM (7 years ago)
Author:
nanang
Message:

Close #1681:

  • Added compile-time settings PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE and PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE. The default values are both 64 KB when PJMEDIA_HAS_VIDEO is set, otherwise just zero (socket buffer size uses OS default). The settings will be applied to media transport UDP and ICE.
  • Also added run-time settings so_sndbuf_size and so_rcvbuf_size into ICE stream transport, STUN socket, and TURN socket. Default values are all zero.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/turn_sock.h

    r4360 r4538  
    166166     */ 
    167167    pj_uint16_t port_range; 
     168 
     169    /** 
     170     * Specify target value for socket receive buffer size. It will be 
     171     * applied using setsockopt(). When it fails to set the specified size, 
     172     * it will try with lower value until the highest possible has been 
     173     * successfully set. 
     174     * 
     175     * Default: 0 (OS default) 
     176     */ 
     177    unsigned so_rcvbuf_size; 
     178 
     179    /** 
     180     * Specify target value for socket send buffer size. It will be 
     181     * applied using setsockopt(). When it fails to set the specified size, 
     182     * it will try with lower value until the highest possible has been 
     183     * successfully set. 
     184     * 
     185     * Default: 0 (OS default) 
     186     */ 
     187    unsigned so_sndbuf_size; 
    168188 
    169189} pj_turn_sock_cfg; 
Note: See TracChangeset for help on using the changeset viewer.