summaryrefslogtreecommitdiff
path: root/pjmedia/include/pjmedia/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjmedia/include/pjmedia/config.h')
-rw-r--r--pjmedia/include/pjmedia/config.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h
index 948598b0..05e40148 100644
--- a/pjmedia/include/pjmedia/config.h
+++ b/pjmedia/include/pjmedia/config.h
@@ -430,6 +430,35 @@
# define PJMEDIA_RTCP_IGNORE_FIRST_PACKETS 25
#endif
+
+/**
+ * Specify whether RTCP statistics includes raw jitter statistics.
+ * Raw jitter is defined as absolute value of network transit time
+ * difference of two consecutive packets; refering to "difference D"
+ * term in interarrival jitter calculation in RFC 3550 section 6.4.1.
+ *
+ * Default: 0 (no).
+ */
+#ifndef PJMEDIA_RTCP_STAT_HAS_RAW_JITTER
+# define PJMEDIA_RTCP_STAT_HAS_RAW_JITTER 0
+#endif
+
+
+/**
+ * Specify whether RTCP statistics includes IP Delay Variation statistics.
+ * IPDV is defined as network transit time difference of two consecutive
+ * packets. The IPDV statistic can be useful to inspect clock skew existance
+ * and level, e.g: when the IPDV mean values were stable in positive numbers,
+ * then the remote clock (used in sending RTP packets) is faster than local
+ * system clock. Ideally, the IPDV mean values are always equal to 0.
+ *
+ * Default: 0 (no).
+ */
+#ifndef PJMEDIA_RTCP_STAT_HAS_IPDV
+# define PJMEDIA_RTCP_STAT_HAS_IPDV 0
+#endif
+
+
/**
* Specify whether RTCP XR support should be built into PJMEDIA. Disabling
* this feature will reduce footprint slightly. Note that even when this