summaryrefslogtreecommitdiff
path: root/pjmedia/include/pjmedia/vid_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjmedia/include/pjmedia/vid_stream.h')
-rw-r--r--pjmedia/include/pjmedia/vid_stream.h23
1 files changed, 17 insertions, 6 deletions
diff --git a/pjmedia/include/pjmedia/vid_stream.h b/pjmedia/include/pjmedia/vid_stream.h
index bdd84079..4ce819bd 100644
--- a/pjmedia/include/pjmedia/vid_stream.h
+++ b/pjmedia/include/pjmedia/vid_stream.h
@@ -298,10 +298,10 @@ PJ_DECL(pj_bool_t) pjmedia_vid_stream_is_running(pjmedia_vid_stream *stream,
pjmedia_dir dir);
/**
- * Pause the individual channel in the stream.
+ * Pause stream channels.
*
- * @param stream The video channel.
- * @param dir Which direction to pause.
+ * @param stream The video stream.
+ * @param dir Which channel direction to pause.
*
* @return PJ_SUCCESS on success.
*/
@@ -309,10 +309,10 @@ PJ_DECL(pj_status_t) pjmedia_vid_stream_pause(pjmedia_vid_stream *stream,
pjmedia_dir dir);
/**
- * Resume the individual channel in the stream.
+ * Resume stream channels.
*
- * @param stream The video channel.
- * @param dir Which direction to resume.
+ * @param stream The video stream.
+ * @param dir Which channel direction to resume.
*
* @return PJ_SUCCESS on success;
*/
@@ -321,6 +321,17 @@ PJ_DECL(pj_status_t) pjmedia_vid_stream_resume(pjmedia_vid_stream *stream,
/**
+ * Force stream to send video keyframe on the next transmission.
+ *
+ * @param stream The video stream.
+ *
+ * @return PJ_SUCCESS on success;
+ */
+PJ_DECL(pj_status_t) pjmedia_vid_stream_send_keyframe(
+ pjmedia_vid_stream *stream);
+
+
+/**
* @}
*/