diff options
author | Benny Prijono <bennylp@teluu.com> | 2011-10-04 08:23:07 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2011-10-04 08:23:07 +0000 |
commit | 9dadde885bba819e5bdd2a51e219be669f02efd2 (patch) | |
tree | a92941f4b8cb304a16ab99bb89feb4b21fe12267 /pjsip/include/pjsua-lib | |
parent | cb646a2403e5e3bf84c2eb59c602f46fef11464e (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 'pjsip/include/pjsua-lib')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 3bcf107e..2b5130c8 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -3940,6 +3940,23 @@ PJ_DECL(int) pjsua_call_get_vid_stream_idx(pjsua_call_id call_id); /** + * Determine if video stream for the specified call is currently running + * (i.e. has been created, started, and not being paused) for the specified + * direction. + * + * @param call_id Call identification. + * @param med_idx Media stream index, or -1 to specify default video + * media. + * @param dir The direction to be checked. + * + * @return PJ_TRUE if stream is currently running for the + * specified direction. + */ +PJ_DECL(pj_bool_t) pjsua_call_vid_stream_is_running(pjsua_call_id call_id, + int med_idx, + pjmedia_dir dir); + +/** * Add, remove, modify, and/or manipulate video media stream for the * specified call. This may trigger a re-INVITE or UPDATE to be sent * for the call. |