Ticket #1514 (closed defect: fixed)
Assertion when media transport initialization fails and NULL instead DISCONNECTED is reported in the on_call_state() callback
|Reported by:||bennylp||Owned by:||bennylp|
|Backport to 1.x milestone:||Backported:|
Description (last modified by bennylp) (diff)
There are two problems:
- 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.
- 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.
Note: See TracTickets for help on using tickets.