Ignore:
Timestamp:
Jun 6, 2008 2:51:48 PM (16 years ago)
Author:
bennylp
Message:

More ticket #485: added TURN support in PJSUA-LIB API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r1951 r1990  
    10291029    /** 
    10301030     * Specify domain name to be resolved with DNS SRV resolution to get the 
    1031      * address of the STUN servers. Alternatively application may specify 
    1032      * \a stun_host and \a stun_relay_host instead. 
     1031     * address of the STUN server. Alternatively application may specify 
     1032     * \a stun_host instead. 
    10331033     * 
    10341034     * If DNS SRV resolution failed for this domain, then DNS A resolution 
     
    10421042     */ 
    10431043    pj_str_t        stun_host; 
    1044  
    1045     /** 
    1046      * Specify STUN relay server to be used. 
    1047      */ 
    1048     pj_str_t        stun_relay_host; 
    10491044 
    10501045    /** 
     
    38873882 
    38883883    /** 
    3889      * Enable ICE media relay. 
    3890      */ 
    3891     pj_bool_t           enable_relay; 
     3884     * Disable ICE host candidates. 
     3885     */ 
     3886    pj_bool_t           ice_no_host_cands; 
     3887 
     3888    /** 
     3889     * Enable TURN relay candidate in ICE. 
     3890     */ 
     3891    pj_bool_t           enable_turn; 
     3892 
     3893    /** 
     3894     * Specify TURN domain name or host name, in in "DOMAIN:PORT" or  
     3895     * "HOST:PORT" format. 
     3896     */ 
     3897    pj_str_t            turn_server; 
     3898 
     3899    /** 
     3900     * Specify the connection type to be used to the TURN server. Valid 
     3901     * values are PJ_TURN_TP_UDP or PJ_TURN_TP_TCP. 
     3902     * 
     3903     * Default: PJ_TURN_TP_UDP 
     3904     */ 
     3905    pj_turn_tp_type     turn_conn_type; 
     3906 
     3907    /** 
     3908     * Specify the credential to authenticate with the TURN server. 
     3909     */ 
     3910    pj_stun_auth_cred   turn_auth_cred; 
    38923911}; 
    38933912 
Note: See TracChangeset for help on using the changeset viewer.