Permalink
Browse files

Explicitly set start RTP port to 4000

For some reason PJSIP 2 now uses 40000 as start port for RTP when it
is not specified.
  • Loading branch information...
1 parent 52a032b commit d89eb34cd8cd728ff8f4fc764e6bed214bce1cc2 @eofster eofster committed Dec 6, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 Classes/AKSIPUserAgent.m
View
@@ -600,6 +600,8 @@ - (BOOL)addAccount:(AKSIPAccount *)anAccount withPassword:(NSString *)aPassword
accountConfig.cred_info[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD;
accountConfig.cred_info[0].data = [aPassword pjString];
+ accountConfig.rtp_cfg.port = 4000;
+
if ([[anAccount proxyHost] length] > 0) {
accountConfig.proxy_cnt = 1;

0 comments on commit d89eb34

Please sign in to comment.