- Timestamp:
- Jan 21, 2008 9:20:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/users/nanang/pjsip/include/pjsua-lib/pjsua.h
r1720 r1723 404 404 #endif 405 405 406 406 #if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) 407 408 /** 409 * Default value of SRTP mode usage. Valid values are PJMEDIA_SRTP_DISABLED, 410 * PJMEDIA_SRTP_OPTIONAL, and PJMEDIA_SRTP_MANDATORY. 411 */ 412 #ifndef PJSUA_DEFAULT_USE_SRTP 413 #define PJSUA_DEFAULT_USE_SRTP PJMEDIA_SRTP_DISABLED 414 #endif 415 416 /** 417 * Default value of secure signaling requirement for SRTP. 418 * Valid values are: 419 * 0: SRTP does not require secure signaling 420 * 1: SRTP requires secure transport such as TLS 421 * 2: SRTP requires secure end-to-end transport (SIPS) 422 */ 423 #ifndef PJSUA_DEFAULT_SRTP_SECURE_SIGNALING 424 #define PJSUA_DEFAULT_SRTP_SECURE_SIGNALING 0 425 #endif 426 427 #endif 407 428 408 429 /** … … 1035 1056 pj_str_t user_agent; 1036 1057 1058 #if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) 1037 1059 /** 1038 1060 * Specify default value of secure media transport usage. … … 1043 1065 * configuration (#pjsua_acc_config). 1044 1066 * 1045 * Default: 1046 * PJMEDIA_SRTP_DISABLED 1067 * Default: #PJSUA_DEFAULT_USE_SRTP 1047 1068 */ 1048 1069 pjmedia_srtp_use use_srtp; … … 1060 1081 * configuration (#pjsua_acc_config). 1061 1082 * 1062 * Default: 01083 * Default: #PJSUA_DEFAULT_SRTP_SECURE_SIGNALING 1063 1084 */ 1064 1085 int srtp_secure_signaling; 1086 #endif 1065 1087 1066 1088 } pjsua_config; … … 2001 2023 pj_str_t ka_data; 2002 2024 2025 #if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) 2003 2026 /** 2004 2027 * Specify whether secure media transport should be used for this account. … … 2006 2029 * PJMEDIA_SRTP_MANDATORY. 2007 2030 * 2008 * Default: 2009 * PJMEDIA_SRTP_DISABLED 2031 * Default: #PJSUA_DEFAULT_USE_SRTP 2010 2032 */ 2011 2033 pjmedia_srtp_use use_srtp; … … 2020 2042 * 2: SRTP requires secure end-to-end transport (SIPS) 2021 2043 * 2022 * Default: 02044 * Default: #PJSUA_DEFAULT_SRTP_SECURE_SIGNALING 2023 2045 */ 2024 2046 int srtp_secure_signaling; 2047 #endif 2025 2048 2026 2049 } pjsua_acc_config;
Note: See TracChangeset
for help on using the changeset viewer.