Ignore:
Timestamp:
May 13, 2010 5:22:51 AM (12 years ago)
Author:
nanang
Message:

Re #1069:

  • Added new approach of SRTP optional mode in pjsua-lib by duplicating SDP media line for secured and unsecured version of media transport.
  • Integrated this feature into pjsua app, it is activated via --use-srtp=3 param.
File:
1 edited

Legend:

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

    r3128 r3172  
    10841084     */ 
    10851085    int              srtp_secure_signaling; 
     1086 
     1087    /** 
     1088     * Specify whether SRTP in PJMEDIA_SRTP_OPTIONAL mode should compose  
     1089     * duplicated media in SDP offer, i.e: unsecured and secured version. 
     1090     * Otherwise, the SDP media will be composed as unsecured media but  
     1091     * with SDP "crypto" attribute. 
     1092     * 
     1093     * Default: PJ_FALSE 
     1094     */ 
     1095    pj_bool_t        srtp_optional_dup_offer; 
    10861096#endif 
    10871097 
     
    21272137     */ 
    21282138    int              srtp_secure_signaling; 
     2139 
     2140    /** 
     2141     * Specify whether SRTP in PJMEDIA_SRTP_OPTIONAL mode should compose  
     2142     * duplicated media in SDP offer, i.e: unsecured and secured version. 
     2143     * Otherwise, the SDP media will be composed as unsecured media but  
     2144     * with SDP "crypto" attribute. 
     2145     * 
     2146     * Default: PJ_FALSE 
     2147     */ 
     2148    pj_bool_t        srtp_optional_dup_offer; 
    21292149#endif 
    21302150 
Note: See TracChangeset for help on using the changeset viewer.