You can not do this with pjsua_acc_add_local. This functionality is not realized in this function, ask developers why. See PJSIP sources, you will find how to do this for local account. 2012/6/22 Adrien G <adrien_chem at hotmail.com>: > Hi everyone, > > > I'm wondering how to set a pjsua_acc_config when we use pjsua_acc_add_local? > > > Indeed this method contrary to pjsua_acc_add does not take any config > structure. I need it to set the basic video parameters: > ? vid_cap_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV; > ? vid_rend_dev = PJMEDIA_VID_DEFAULT_RENDER_DEV; > ? vid_in_auto_show = PJ_TRUE; // Automatically show incoming video. > ? vid_out_auto_transmit = PJ_TRUE; // Automatically offer video. > > > I tried the method pjsua_acc_modify just after calling pjsua_acc_add_local > but it doesnt work. > > > Thank you > > _______________________________________________ > 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 >