Long time between "initializing media" and setting up RTP/RTCP ports?

BL
Brian Lee
Fri, Sep 22, 2017 3:32 PM

Hi All,

On an incoming call I see a long pause before the ports are set up for the
media. So much so that the calling client times out.

The delay is repeated for the second stream and seems like it could be a
timeout of some kind.

Any thoughts on this? Is it possible to pre-allocate the default ports for
audio/video to avoid this?

08:55:00.207  pjsua_call.c  .Incoming Request msg INVITE/cseq=1
(rdata0x201020)
08:55:00.216  pjsua_media.c  ..Call 1: initializing media..
08:55:10.232  pjsua_media.c  ...RTP socket reachable at 192.168.0.243:4000
08:55:10.233  pjsua_media.c  ...RTCP socket reachable at 192.168.0.243:4001
08:55:20.252  pjsua_media.c  ...RTP socket reachable at 192.168.0.243:4002
08:55:20.252  pjsua_media.c  ...RTCP socket reachable at 192.168.0.243:4003
08:55:20.253  pjsua_media.c  ...Media index 0 selected for audio call 1

Thanks,

Brian.

Hi All, On an incoming call I see a long pause before the ports are set up for the media. So much so that the calling client times out. The delay is repeated for the second stream and seems like it could be a timeout of some kind. Any thoughts on this? Is it possible to pre-allocate the default ports for audio/video to avoid this? 08:55:00.207 pjsua_call.c .Incoming Request msg INVITE/cseq=1 (rdata0x201020) 08:55:00.216 pjsua_media.c ..Call 1: initializing media.. 08:55:10.232 pjsua_media.c ...RTP socket reachable at 192.168.0.243:4000 08:55:10.233 pjsua_media.c ...RTCP socket reachable at 192.168.0.243:4001 08:55:20.252 pjsua_media.c ...RTP socket reachable at 192.168.0.243:4002 08:55:20.252 pjsua_media.c ...RTCP socket reachable at 192.168.0.243:4003 08:55:20.253 pjsua_media.c ...Media index 0 selected for audio call 1 Thanks, Brian.