summaryrefslogtreecommitdiff
path: root/pjmedia/src
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2011-03-15 05:07:01 +0000
committerLiong Sauw Ming <ming@teluu.com>2011-03-15 05:07:01 +0000
commit61099d5ef6ff79b6ef03391b03dd0a3594ec2d4e (patch)
treeb9486565ef16fba8864a796d82fd6223570df018 /pjmedia/src
parentab69db8c96ae19269067fd98e5ff1a046d78a2de (diff)
Closed #1206: Add pjmedia_stream API to get the last frame type retrieved from the jitter buffer.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3442 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src')
-rw-r--r--pjmedia/src/pjmedia/stream.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/pjmedia/src/pjmedia/stream.c b/pjmedia/src/pjmedia/stream.c
index 7f9e56b3..5e612e6e 100644
--- a/pjmedia/src/pjmedia/stream.c
+++ b/pjmedia/src/pjmedia/stream.c
@@ -2459,6 +2459,14 @@ PJ_DEF(pj_status_t) pjmedia_stream_destroy( pjmedia_stream *stream )
}
+/*
+ * Get the last frame frame type retreived from the jitter buffer.
+ */
+PJ_DEF(char) pjmedia_stream_get_last_jb_frame_type(pjmedia_stream *stream)
+{
+ return stream->jb_last_frm;
+}
+
/*
* Get the port interface.