Ignore:
Timestamp:
Dec 28, 2016 3:40:07 AM (7 years ago)
Author:
nanang
Message:

Re #1900: More merged from trunk (r5512 mistakenly contains merged changes in third-party dir only).

Location:
pjproject/branches/projects/uwp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp

  • pjproject/branches/projects/uwp/pjmedia/include/pjmedia/config.h

    r5186 r5513  
    954954 
    955955/** 
     956 * Maximum number of SRTP cryptos. 
     957 * 
     958 * Default: 16 
     959 */ 
     960#ifndef PJMEDIA_SRTP_MAX_CRYPTOS 
     961#   define PJMEDIA_SRTP_MAX_CRYPTOS                 16 
     962#endif 
     963 
     964 
     965/** 
     966 * Enable AES_CM_256 cryptos in SRTP. 
     967 * Default: enabled. 
     968 */ 
     969#ifndef PJMEDIA_SRTP_HAS_AES_CM_256 
     970#   define PJMEDIA_SRTP_HAS_AES_CM_256              1 
     971#endif 
     972 
     973 
     974/** 
     975 * Enable AES_CM_192 cryptos in SRTP. 
     976 * It was reported that this crypto only works among libsrtp backends, 
     977 * so we recommend to disable this. 
     978 * 
     979 * To enable this, you would require OpenSSL which supports it. 
     980 * See https://trac.pjsip.org/repos/ticket/1943 for more info. 
     981 * 
     982 * Default: disabled. 
     983 */ 
     984#ifndef PJMEDIA_SRTP_HAS_AES_CM_192 
     985#   define PJMEDIA_SRTP_HAS_AES_CM_192              0 
     986#endif 
     987 
     988 
     989/** 
     990 * Enable AES_CM_128 cryptos in SRTP. 
     991 * Default: enabled. 
     992 */ 
     993#ifndef PJMEDIA_SRTP_HAS_AES_CM_128 
     994#   define PJMEDIA_SRTP_HAS_AES_CM_128              1 
     995#endif 
     996 
     997 
     998/** 
     999 * Enable AES_GCM_256 cryptos in SRTP. 
     1000 * 
     1001 * To enable this, you would require OpenSSL which supports it. 
     1002 * See https://trac.pjsip.org/repos/ticket/1943 for more info.  
     1003 * 
     1004 * Default: disabled. 
     1005 */ 
     1006#ifndef PJMEDIA_SRTP_HAS_AES_GCM_256 
     1007#   define PJMEDIA_SRTP_HAS_AES_GCM_256             0 
     1008#endif 
     1009 
     1010 
     1011/** 
     1012 * Enable AES_GCM_128 cryptos in SRTP. 
     1013 * 
     1014 * To enable this, you would require OpenSSL which supports it. 
     1015 * See https://trac.pjsip.org/repos/ticket/1943 for more info. 
     1016 * 
     1017 * Default: disabled. 
     1018 */ 
     1019#ifndef PJMEDIA_SRTP_HAS_AES_GCM_128 
     1020#   define PJMEDIA_SRTP_HAS_AES_GCM_128             0 
     1021#endif 
     1022 
     1023 
     1024/** 
    9561025 * Let the library handle libsrtp initialization and deinitialization. 
    9571026 * Application may want to disable this and manually perform libsrtp 
     
    9731042 *  - G.722      : RFC 3551 4.5.2 
    9741043 *  - MPEG audio : RFC 3551 4.5.13 & RFC 3119 
     1044 *  - OPUS       : RFC 7587 
    9751045 * 
    9761046 * Also when this feature is enabled, some handling will be performed 
     
    11411211 
    11421212/** 
    1143  * Specify if FFMPEG libavcore is available. 
    1144  * 
    1145  * Default: PJMEDIA_HAS_FFMPEG (or detected by configure) 
    1146  */ 
    1147 #ifndef PJMEDIA_HAS_LIBAVCORE 
    1148 #   define PJMEDIA_HAS_LIBAVCORE                        PJMEDIA_HAS_FFMPEG 
    1149 #endif 
    1150  
    1151 /** 
    11521213 * Maximum video planes. 
    11531214 * 
     
    13211382#endif 
    13221383 
     1384 
    13231385/** 
    13241386 * Specify if libyuv is available. 
     
    13301392#endif 
    13311393 
     1394 
     1395/** 
     1396 * Specify if dtmf flash in RFC 2833 is available. 
     1397 */ 
     1398#ifndef PJMEDIA_HAS_DTMF_FLASH 
     1399#   define PJMEDIA_HAS_DTMF_FLASH                       1 
     1400#endif 
     1401 
     1402/** 
     1403 * Specify the number of keyframe needed to be sent after the stream is  
     1404 * created. Setting this to 0 will disable it. 
     1405 * 
     1406 * Default : 5 
     1407 */ 
     1408#ifndef PJMEDIA_VID_STREAM_START_KEYFRAME_CNT 
     1409#   define PJMEDIA_VID_STREAM_START_KEYFRAME_CNT        5 
     1410#endif 
     1411 
     1412/** 
     1413 * Specify the interval to send keyframe after the stream is created, in msec. 
     1414 * 
     1415 * Default : 1000 
     1416 */ 
     1417#ifndef PJMEDIA_VID_STREAM_START_KEYFRAME_INTERVAL_MSEC 
     1418#   define PJMEDIA_VID_STREAM_START_KEYFRAME_INTERVAL_MSEC  1000 
     1419#endif 
     1420 
     1421 
    13321422/** 
    13331423 * @} 
Note: See TracChangeset for help on using the changeset viewer.