summaryrefslogtreecommitdiff
path: root/pjmedia/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2008-09-24 17:27:46 +0000
committerNanang Izzuddin <nanang@teluu.com>2008-09-24 17:27:46 +0000
commite71cbd6b9a500ecf826258a82847ddff31fb0548 (patch)
tree9e1ab527c9dd32d3cb9189ab81015f7cbb9a0a28 /pjmedia/include
parent02e3cd6bbb45d51d3267d66149d6576405aa683b (diff)
Ticket #638: Reenable prefetch buffering via initial prefetch setting (set 0 to disable, otherwise to enable).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2317 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r--pjmedia/include/pjmedia/jbuf.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/pjmedia/include/pjmedia/jbuf.h b/pjmedia/include/pjmedia/jbuf.h
index 3d718039..db004c65 100644
--- a/pjmedia/include/pjmedia/jbuf.h
+++ b/pjmedia/include/pjmedia/jbuf.h
@@ -149,14 +149,16 @@ PJ_DECL(pj_status_t) pjmedia_jbuf_set_fixed( pjmedia_jbuf *jb,
* Set the jitter buffer to adaptive mode.
*
* @param jb The jitter buffer.
- * @param prefetch The prefetch value to be applied to the jitter
- * buffer.
+ * @param prefetch The initial prefetch value to be applied to the
+ * jitter buffer. Setting this to other than 0 will
+ * activate prefetch buffering, a jitter buffer feature
+ * that each time it gets empty, it won't return a
+ * normal frame until its size reaches the number
+ * specified here.
* @param min_prefetch The minimum delay that must be applied to each
- * incoming packets, in number of frames. The
- * default value is zero.
+ * incoming packets, in number of frames.
* @param max_prefetch The maximum allowable value for prefetch delay,
- * in number of frames. The default value is equal
- * to the size of the jitter buffer.
+ * in number of frames.
*
* @return PJ_SUCCESS on success.
*/