Ignore:
Timestamp:
Oct 24, 2011 9:28:13 AM (13 years ago)
Author:
ming
Message:

Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunk

TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjmedia/include/pjmedia/config.h

    r3837 r3841  
    388388 
    389389/** 
    390  * Number of packets received from different source IP address from the 
     390 * Number of RTP packets received from different source IP address from the 
    391391 * remote address required to make the stream switch transmission 
    392392 * to the source address. 
     
    394394#ifndef PJMEDIA_RTP_NAT_PROBATION_CNT    
    395395#  define PJMEDIA_RTP_NAT_PROBATION_CNT         10 
     396#endif 
     397 
     398 
     399/** 
     400 * Number of RTCP packets received from different source IP address from the 
     401 * remote address required to make the stream switch RTCP transmission 
     402 * to the source address. 
     403 */ 
     404#ifndef PJMEDIA_RTCP_NAT_PROBATION_CNT 
     405#  define PJMEDIA_RTCP_NAT_PROBATION_CNT        3 
    396406#endif 
    397407 
     
    917927 */ 
    918928#ifndef PJMEDIA_STREAM_KA_INTERVAL 
    919 #       define PJMEDIA_STREAM_KA_INTERVAL           5 
     929#   define PJMEDIA_STREAM_KA_INTERVAL               5 
    920930#endif 
    921931 
     
    10581068 
    10591069/** 
     1070 * Minimum gap between two consecutive discards in jitter buffer, 
     1071 * in milliseconds. 
     1072 * 
     1073 * Default: 200 ms 
     1074 */ 
     1075#ifndef PJMEDIA_JBUF_DISC_MIN_GAP 
     1076#   define PJMEDIA_JBUF_DISC_MIN_GAP                200 
     1077#endif 
     1078 
     1079 
     1080/** 
     1081 * Minimum burst level reference used for calculating discard duration 
     1082 * in jitter buffer progressive discard algorithm, in frames. 
     1083 *  
     1084 * Default: 1 frame 
     1085 */ 
     1086#ifndef PJMEDIA_JBUF_PRO_DISC_MIN_BURST 
     1087#   define PJMEDIA_JBUF_PRO_DISC_MIN_BURST          1 
     1088#endif 
     1089 
     1090 
     1091/** 
     1092 * Maximum burst level reference used for calculating discard duration 
     1093 * in jitter buffer progressive discard algorithm, in frames. 
     1094 *  
     1095 * Default: 200 frames 
     1096 */ 
     1097#ifndef PJMEDIA_JBUF_PRO_DISC_MAX_BURST 
     1098#   define PJMEDIA_JBUF_PRO_DISC_MAX_BURST          100 
     1099#endif 
     1100 
     1101 
     1102/** 
     1103 * Duration for progressive discard algotithm in jitter buffer to discard 
     1104 * an excessive frame when burst is equal to or lower than 
     1105 * PJMEDIA_JBUF_PRO_DISC_MIN_BURST, in milliseconds. 
     1106 * 
     1107 * Default: 2000 ms 
     1108 */ 
     1109#ifndef PJMEDIA_JBUF_PRO_DISC_T1 
     1110#   define PJMEDIA_JBUF_PRO_DISC_T1                 2000 
     1111#endif 
     1112 
     1113 
     1114/** 
     1115 * Duration for progressive discard algotithm in jitter buffer to discard 
     1116 * an excessive frame when burst is equal to or lower than 
     1117 * PJMEDIA_JBUF_PRO_DISC_MAX_BURST, in milliseconds. 
     1118 * 
     1119 * Default: 10000 ms 
     1120 */ 
     1121#ifndef PJMEDIA_JBUF_PRO_DISC_T2 
     1122#   define PJMEDIA_JBUF_PRO_DISC_T2                 10000 
     1123#endif 
     1124 
     1125 
     1126/** 
    10601127 * Video stream will discard old picture from the jitter buffer as soon as 
    10611128 * new picture is received, to reduce latency. 
Note: See TracChangeset for help on using the changeset viewer.