summaryrefslogtreecommitdiff
path: root/pjsip-apps
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2013-10-08 04:48:11 +0000
committerBenny Prijono <bennylp@teluu.com>2013-10-08 04:48:11 +0000
commit8a11acc8111174c5e977233d6b38dfa73e482d2e (patch)
tree9a27d1efae3f15a9531880e9b8e6bde659e0bf8c /pjsip-apps
parent5732af557fb9dee021bb3f8996954682b410aaca (diff)
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
Diffstat (limited to 'pjsip-apps')
-rw-r--r--pjsip-apps/src/python/pjsua.py4
1 files changed, 2 insertions, 2 deletions
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