Hi Janusz,
I tried to reproduce it, but it seems to work fine here. Can you try:
- on desktop, with our sample app pjsua, or
- iOS vs desktop call, using our sample apps
and check whether the issue is also reproducible under those environments.
The strange thing is that you mentioned that call_med->call->async_call.rem_sdp only has one media, while it seems clear from the SDP in the log that it should have two. So I'm still not sure how it could have happened.
Regards,
Ming
On Wed, Jun 12, 2019 at 4:21 PM Janusz Kolarczyk <januszkol@xxxxxxxxx> wrote:
Any idea?_______________________________________________wt., 4 cze 2019 o 13:46 Janusz Kolarczyk <januszkol@xxxxxxxxx> napisał(a):Hi Ming,Here are logs from 2 iOS devices1) UAC-1 make audio call to UAC-22) UAC-2 answer with 2003) UAC-2 is trying add video and crashI described reason of this crash in first e-mail.RegardsJanuszwt., 4 cze 2019 o 06:52 Ming <ming@xxxxxxxxx> napisał(a):Hi Janusz,The SIP messages in the log are missing. Can you provide us the complete log?Regards,Ming_______________________________________________On Fri, May 31, 2019 at 6:08 PM Janusz Kolarczyk <januszkol@xxxxxxxxx> wrote:And here are logs_______________________________________________pt., 31 maj 2019 o 11:49 Janusz Kolarczyk <januszkol@xxxxxxxxx> napisał(a):I'm using latest revision from svnpt., 31 maj 2019 o 11:45 Ming <ming@xxxxxxxxx> napisał(a):Hi Janusz,I tested it here with the latest trunk version, adding video call with ICE, and it seemed to work fine.Which PJSIP version are you using and can you forward us the PJSIP log?Regards,Ming_______________________________________________On Fri, May 31, 2019 at 4:25 PM Janusz Kolarczyk <januszkol@xxxxxxxxx> wrote:Hello._______________________________________________In scenario:UA 1 calling to UA 2. After connected UA 2 is trying to add video.After call pjsua_call_set_vid_strm(callid, PJSUA_CALL_VID_STRM_ADD, NULL); i got crash in func create_ice_media_transport section "/* Create ICE stream transport configuration */"It is caused because m is NULL after this: m = call_med->call->async_call.rem_sdp->media[call_med->idx]; and next line: c = m->conn? m->conn : call_med->call->async_call.rem_sdp->conn; is causing crash.m is NULL because call_med->call->async_call.rem_sdp has only one media and call_med->idx is equal to 1.Any idea? Am I doing something wrong? Or it is a bug?Best RegardsJanusz
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org