Ignore:
Timestamp:
Jan 18, 2008 6:49:29 PM (14 years ago)
Author:
bennylp
Message:

More ticket #452: SRTP creation/destruction, added use_srtp and srtp_secure_signaling in pjsua_account_config, updated pjsua

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/users/nanang/pjsip/include/pjsua-lib/pjsua.h

    r1698 r1709  
    19721972    pj_str_t         ka_data; 
    19731973 
     1974    /** 
     1975     * Specify whether secure media transport should be used for this account. 
     1976     * Valid values are PJMEDIA_SRTP_DISABLED, PJMEDIA_SRTP_OPTIONAL, and 
     1977     * PJMEDIA_SRTP_MANDATORY. 
     1978     * 
     1979     * Default: 
     1980     *  PJMEDIA_SRTP_DISABLED 
     1981     */ 
     1982    pjmedia_srtp_use    use_srtp; 
     1983 
     1984    /** 
     1985     * Specify whether SRTP requires secure signaling to be used. This option 
     1986     * is only used when \a use_srtp option above is non-zero. 
     1987     * 
     1988     * Valid values are: 
     1989     *  0: SRTP does not require secure signaling 
     1990     *  1: SRTP requires secure transport such as TLS 
     1991     *  2: SRTP requires secure end-to-end transport (SIPS) 
     1992     * 
     1993     * Default: 0 
     1994     */ 
     1995    int              srtp_secure_signaling; 
     1996 
    19741997} pjsua_acc_config; 
    19751998 
     
    37693792     */ 
    37703793    pj_bool_t           enable_relay; 
    3771  
    3772     /** 
    3773      * Enable SRTP 
    3774      */ 
    3775     pj_bool_t           enable_srtp; 
    37763794}; 
    37773795 
Note: See TracChangeset for help on using the changeset viewer.