Skip to content

rtsp-client: Lock shared media

Kristofer requested to merge Bjorkstrom/gst-rtsp-server:master into master

For shared media we got race conditions. Concurrently rtsp clients might suspend or unsuspend the shared media and thus change the state without the clients expecting that. By introducing a lock that can be taken by callers such as rtsp_client one can force rtsp clients calling, eg. PLAY, SETUP and that uses shared media, to handle the media sequentially thus allowing one client to finish its rtsp call before another client calls on the same media.

Also in rtsp-media:gst_rtsp_media_suspend a check for prepare_count is done.

#86 (closed) Fixes #86 (closed)

Merge request reports

Loading