diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2012-04-03 10:10:11 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2012-04-03 10:10:11 +0000 |
commit | 8f3750ee024a29a101156836adb14a646bb28842 (patch) | |
tree | 72c1a8f67c43a62702c06d801dcae7dcfbc7d943 /pjmedia/include | |
parent | f414122b18c19e10aa49d86478d2abf422ebc2f8 (diff) |
Close #1479: Applied RTCP related enhancements (#1268 & #1440) into video stream.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4012 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/vid_stream.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/vid_stream.h b/pjmedia/include/pjmedia/vid_stream.h index 4ce819bd..634709a0 100644 --- a/pjmedia/include/pjmedia/vid_stream.h +++ b/pjmedia/include/pjmedia/vid_stream.h @@ -114,6 +114,9 @@ typedef struct pjmedia_vid_stream_info pjmedia_vid_codec_info codec_info; /**< Incoming codec format info. */ pjmedia_vid_codec_param *codec_param; /**< Optional codec param. */ + pj_bool_t rtcp_sdes_bye_disabled; + /**< Disable automatic sending of RTCP + SDES and BYE. */ } pjmedia_vid_stream_info; @@ -332,6 +335,28 @@ PJ_DECL(pj_status_t) pjmedia_vid_stream_send_keyframe( /** + * Send RTCP SDES for the media stream. + * + * @param stream The media stream. + * + * @return PJ_SUCCESS on success. + */ +PJ_DECL(pj_status_t) pjmedia_vid_stream_send_rtcp_sdes( + pjmedia_vid_stream *stream); + + +/** + * Send RTCP BYE for the media stream. + * + * @param stream The media stream. + * + * @return PJ_SUCCESS on success. + */ +PJ_DECL(pj_status_t) pjmedia_vid_stream_send_rtcp_bye( + pjmedia_vid_stream *stream); + + +/** * @} */ |