Skip to content

rtsp-client: make sure sessmedia will not get freed while used

Ognyan Tonchev requested to merge rtsp-client-ref-session-media into main

handle_*_request() functions were all retrieving the session media from the session by calling gst_rtsp_session_get_media () which is a transfer-none call. If a session timeout happens at that time, the session media may get freed making the pointer invalid..

Fixes #757

Edited by Ognyan Tonchev

Merge request reports

Loading