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(¶m); > param.cap_dev = 5; > > pjsua_call_set_vid_strm(0, > PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV, > ¶m); > > _______________________________________________ > 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>