diff options
author | Liong Sauw Ming <ming@teluu.com> | 2011-03-15 05:07:01 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2011-03-15 05:07:01 +0000 |
commit | 61099d5ef6ff79b6ef03391b03dd0a3594ec2d4e (patch) | |
tree | b9486565ef16fba8864a796d82fd6223570df018 /pjmedia/include | |
parent | ab69db8c96ae19269067fd98e5ff1a046d78a2de (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/include')
-rw-r--r-- | pjmedia/include/pjmedia/stream.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/stream.h b/pjmedia/include/pjmedia/stream.h index c3454ac1..d260f11b 100644 --- a/pjmedia/include/pjmedia/stream.h +++ b/pjmedia/include/pjmedia/stream.h @@ -184,6 +184,16 @@ PJ_DECL(pj_status_t) pjmedia_stream_destroy(pjmedia_stream *stream); /** + * Get the last frame type retreived from the jitter buffer. + * + * @param stream The media stream. + * + * @return Jitter buffer frame type. + */ +PJ_DEF(char) pjmedia_stream_get_last_jb_frame_type(pjmedia_stream *stream); + + +/** * Get the media port interface of the stream. The media port interface * declares put_frame() and get_frame() function, which is the only * way for application to transmit and receive media frames from the |