From 8a11acc8111174c5e977233d6b38dfa73e482d2e Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 8 Oct 2013 04:48:11 +0000 Subject: Re #1694: fixed bug in the previous commit with the RTP config instantiation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4611 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/python/pjsua.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pjsip-apps') diff --git a/pjsip-apps/src/python/pjsua.py b/pjsip-apps/src/python/pjsua.py index 73aeb48e..6dc5efe1 100644 --- a/pjsip-apps/src/python/pjsua.py +++ b/pjsip-apps/src/python/pjsua.py @@ -800,7 +800,7 @@ class AccountConfig: if domain!="": self.build_config(domain, username, password, display, registrar, proxy) - self.rtp_transport_cfg = _pjsua.transport_config_default() + self.rtp_transport_cfg = TransportConfig() def build_config(self, domain, username, password, display="", registrar="", proxy="", rtp_transport_cfg = None): @@ -841,7 +841,7 @@ class AccountConfig: if (rtp_transport_cfg is not None): self.rtp_transport_cfg = rtp_transport_cfg else: - self.rtp_transport_cfg = _pjsua.Transport_Config() + self.rtp_transport_cfg = TransportConfig() def _cvt_from_pjsua(self, cfg): self.priority = cfg.priority -- cgit v1.2.3