Opened 13 years ago

Last modified 13 years ago

#1514 closed defect

Assertion when media transport initialization fails and NULL instead DISCONNECTED is reported in the on_call_state() callback — at Version 1

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.0
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

There are two problems:

  1. When media transport initialization fails, it looks like PJSUA-LIB ignores this and continue with the call, causing assertion that looks like this:
    pjsua-x86_64-unknown-linux-gnu: ../src/pjmedia/endpoint.c:770: 
    pjmedia_endpt_create_base_sdp: Assertion `!"Invalid address family"' failed.
    
  2. When the above is fixed, the call gets disconnected as expected. But during disconnection callback via on_call_state() callback, call state is reported as NULL instead of DISCONNECTED.

Change History (1)

comment:1 Changed 13 years ago by bennylp

  • Description modified (diff)
Note: See TracTickets for help on using tickets.