Change the video device during video call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Fedot,
             Am not sure about  how to get this done using methods in
videodev.c which is a lower layer API than the code snippet I mentioned in
this thread. My snippet makes use of  PJSUA-LIB layer for the same.
Probably you could have a look at call_change_cap_dev() method of
pjsua_vid.c.

On Tue, Jul 24, 2012 at 3:44 PM, Fedot Fedotov <fedot.fedotov at gmail.com>wrote:

> Hi!
>
> I want to initiate change capture device procedure from methods in file
> videodev.c I detect moment of change device in
> method pjmedia_vid_dev_stream_get_frame.
>
> How can I implement use this code inside videodev.c
>
> pjsua_call_vid_strm_op_param param;
> pjsua_call_vid_strm_op_param_default(&param);
>  param.cap_dev = 5;
>
> pjsua_call_set_vid_strm(0,
> PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV,
>  &param);
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120724/633896c3/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux