summaryrefslogtreecommitdiff
path: root/pjmedia/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-12-26 21:56:38 +0000
committerBenny Prijono <bennylp@teluu.com>2006-12-26 21:56:38 +0000
commitf6ff4e00da1d8bd928f16378c8d6c99a92c6d364 (patch)
treee1c039f27690141632bf01fbbbc982a1af2a19aa /pjmedia/include
parent47d417ed5eb941ec7bdde985a05340ae184d6fc7 (diff)
Implement ticket #53: Disable silence detector during the first few seconds of RTP transmission to assist NAT traversal
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@868 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r--pjmedia/include/pjmedia/config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h
index b705e6f4..ea84baa5 100644
--- a/pjmedia/include/pjmedia/config.h
+++ b/pjmedia/include/pjmedia/config.h
@@ -172,6 +172,20 @@
/**
+ * Specify how long (in miliseconds) the stream should suspend the
+ * silence detector/voice activity detector (VAD) during the initial
+ * period of the session.
+ *
+ * Specify zero to disable this feature.
+ *
+ * Default: 600 msec
+ */
+#ifndef PJMEDIA_STREAM_VAD_SUSPEND_MSEC
+# define PJMEDIA_STREAM_VAD_SUSPEND_MSEC 600
+#endif
+
+
+/**
* Suggested or default threshold to be set for fixed silence detection
* or as starting threshold for adaptive silence detection. The threshold
* has the range from zero to 255.