mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
GStreamer multimedia framework
1fd49d36d1
Handle the situation when a call to gst_rtsp_media_set_state is done when media status is preparing. Also add unit test for this scenario. The unit test simulate on a media level when two clients share a (live) media. Both clients have done SETUP and got responses. Now client 1 is doing play and client 2 is just closing the connection. Then without patch there are a problem when client1 is calling gst_rtsp_media_unsuspend in handle_play_request. And client2 is doing closing connection we can end up in a call to gst_rtsp_media_set_state when priv->status == GST_RTSP_MEDIA_STATUS_PREPARING and all the logic for shut down media is jumped over . With this patch and this scenario we wait until priv->status == GST_RTSP_MEDIA_STATUS_PREPARED and then continue to execute after that and now we will execute the logic for shut down media. |
||
---|---|---|
common@59cb678164 | ||
docs | ||
examples | ||
gst | ||
pkgconfig | ||
tests | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
COPYING.LIB | ||
gst-rtsp-server.doap | ||
Makefile.am | ||
meson.build | ||
meson_options.txt | ||
NEWS | ||
README | ||
RELEASE | ||
REQUIREMENTS | ||
TODO |
gst-rtsp-server is a library on top of GStreamer for building an RTSP server There are some examples in the examples/ directory and more comprehensive documentation in docs/README.