summaryrefslogtreecommitdiff
path: root/pjmedia/include/pjmedia
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2011-10-04 08:23:07 +0000
committerBenny Prijono <bennylp@teluu.com>2011-10-04 08:23:07 +0000
commit9dadde885bba819e5bdd2a51e219be669f02efd2 (patch)
treea92941f4b8cb304a16ab99bb89feb4b21fe12267 /pjmedia/include/pjmedia
parentcb646a2403e5e3bf84c2eb59c602f46fef11464e (diff)
Added pjsua_call_vid_stream_is_running() and pjmedia_vid_stream_is_running() API (closes #1379)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3786 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include/pjmedia')
-rw-r--r--pjmedia/include/pjmedia/vid_stream.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/vid_stream.h b/pjmedia/include/pjmedia/vid_stream.h
index 83df1167..bdd84079 100644
--- a/pjmedia/include/pjmedia/vid_stream.h
+++ b/pjmedia/include/pjmedia/vid_stream.h
@@ -287,6 +287,17 @@ PJ_DECL(pj_status_t) pjmedia_vid_stream_start(pjmedia_vid_stream *stream);
/**
+ * Query if the stream is started on the specified direction.
+ *
+ * @param stream The video stream.
+ * @param dir The direction to be checked.
+ *
+ * @return PJ_TRUE if stream is started.
+ */
+PJ_DECL(pj_bool_t) pjmedia_vid_stream_is_running(pjmedia_vid_stream *stream,
+ pjmedia_dir dir);
+
+/**
* Pause the individual channel in the stream.
*
* @param stream The video channel.