Hi Kuredant, Right, media transports in 2.x is now created dynamically, and the creation settings are read from pjsua_acc_config::rtp_cfg, so I think you can use pjsua_acc_modify() to update the media transport settings. BR, nanang On Fri, Sep 7, 2012 at 12:31 PM, Kuredant <kuredant at gmail.com> wrote: > Hello, > > I'm trying to change the RTP port and bound interface before making a call > using pjsua-lib. > > I tried following the directions given in the following page: > http://trac.pjsip.org/repos/wiki/IPAddressChange > In the section "Media addresses update" it is said that "call > pjsua_media_transports_create to recreate the media transports". But, the > ticket 1185 suppresses the function as now the media transport is > dynamically created. > > My question is, how do I specify a configuration for the media transport, if > the above mentioned function pjsua_media_transports_create no longer exists > ? > Is there a replacement function or do I need to do it another way ? > > Thank you. > > Regards > > _______________________________________________ > 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