Custom Query (2195 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (43 - 45 of 2195)

Ticket Resolution Summary Owner Reporter
#1940 duplicate Support for Android NDK r12 and Android N bennylp riza
Description

Currently using android ndk r12 will fail when executing configure-android due to:

  • removal of samples folder (since r11b)
  • removal of ndk-build from ndk's root folder
#1944 fixed Allow native window to be set for video output window on SDL ming riza
Description

To allow app to set the output window, the video device wrapper needs to support PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW capability and can be set using pjsua_vid_win_set_win() or VideoWindow::setWindow().

This ticket will add the support for SDL.

#1959 fixed Add reference counter to pjsip_inv_session to avoid race condition bennylp riza
Description

When a transport error occured on an INVITE session the stack calls on_tsx_state_changed with new state PJSIP_INV_STATE_DISCONNECTED and immediately destroys the INVITE session. At the same time this INVITE session could being processed on another thread. This thread could use the session's memory pools which were already freed, so we get segfault.

This ticket adds a reference counter and new functions: pjsip_inv_add_ref and pjsip_inv_dec_ref. The INVITE session is destroyed only when the reference counter has reached zero.

To avoid race condition an application should call pjsip_inv_add_ref/pjsip_inv_dec_ref.

Scenario using TLS:

  • The incoming INVITE received, pjsip called an on_rx_request.
  • An application pushed the INVITE session's data to a task queue on the on_rx_request.
  • The application popped the task and started processing INVITE session on different thread.
  • The TCP/TLS connection has been disconnected (transport error), as result PJSIP_TSX_STATE_TERMINATED.
  • The pjsip called inv_set_state with state PJSIP_INV_STATE_DISCONNECTED.
  • The pjsip called on_tsx_state_changed.
  • The application received on_tsx_state_changed, but on different thread then this INVITE session was being processed.
  • The pjsip destroyed the INVITE session while application was still processing this session.

Thanks to Alexei Gradinari for the original patch

Note: See TracQuery for help on using queries.