Opened 12 years ago

Last modified 12 years ago

#1514 closed defect

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

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

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 (0)

Note: See TracTickets for help on using tickets.