Change capture video device for a call before start encoding stream

Антон Шудяев
Mon, Jun 29, 2020 10:26 AM

Hi! Why pjsua_call_set_vid_strm with PJSUA_CALL_VID_STRM_CHANGE_DIR doesn't
use cap_dev from pjsua_call_vid_strm_op_param? In my case i have decoding
video stream and i'm going to add encoding direction. Is any other
opportunity to override default capture device for a call before starting
encoding stream? PJSUA_CALL_VID_STRM_ADD works fine, but it only works
when  call has no video media.

Hi! Why pjsua_call_set_vid_strm with PJSUA_CALL_VID_STRM_CHANGE_DIR doesn't use cap_dev from pjsua_call_vid_strm_op_param? In my case i have decoding video stream and i'm going to add encoding direction. Is any other opportunity to override default capture device for a call before starting encoding stream? PJSUA_CALL_VID_STRM_ADD works fine, but it only works when call has no video media.