Re: Crash when adding a video to the call (with ICE)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 svn

pt., 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 Regards
Janusz
_______________________________________________
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

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux