summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2015-03-17 09:59:42 +0000
committerLiong Sauw Ming <ming@teluu.com>2015-03-17 09:59:42 +0000
commit0266873461cbbaeac7cc5a210fa90bab6c640b65 (patch)
tree5d725f844f49c9d35c15a758c63aaa015b4f7a75 /pjsip/include
parenta4411dcd275cb3531587b3e07ac07f6fc6884168 (diff)
Re #1786: Add support to specify output window as well for video preview param.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4995 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 6325b70a..1ebde412 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -6639,6 +6639,14 @@ typedef struct pjsua_vid_preview_param
* If left unitialized, this parameter will not be used.
*/
pjmedia_format format;
+
+ /**
+ * Optional output window to be used to display the video preview.
+ * This parameter will only be used if the video device supports
+ * PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW capability and the capability
+ * is not read-only.
+ */
+ pjmedia_vid_dev_hwnd wnd;
} pjsua_vid_preview_param;