GStreamer multimedia framework
Find a file
Branko Subasic 2894640cc5 rtsp-client: cleanup transports during TEARDOWN
When tunneling RTP over RTSP the stream transports are stored in a hash
table in the GstRTSPClientPrivate struct. They are used for, among other
things, mapping channel id to stream transports when receiving data from
the client. The stream tranports are created and added to the hash table
in handle_setup_request(), but unfortuately they are not removed in
handle_teardown_request(). This means that if the client sends data on
the RTSP connection after it has sent the TEARDOWN, which is often the
case when audio backchannel is enabled, handle_data() will still be able
to map the channel to a session transport and pass the data along to it.
Which eventually leads to a failing assert in gst_rtsp_stream_recv_rtp()
because the stream is no longer joined to a bin.
We avoid this by removing the stream transports from the hash table when
we handle the TEARDOWN request.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/184>
2021-01-22 16:42:00 +01:00
docs rtspclientsink: Add "update-sdp" signal that allows updating the SDP before sending it to the server 2021-01-08 13:26:01 +00:00
examples rtsp-media-factory: expose API to disable RTCP 2020-10-10 02:06:18 +02:00
gst rtsp-client: cleanup transports during TEARDOWN 2021-01-22 16:42:00 +01:00
hooks git: use our standard pre commit hook 2020-10-08 21:48:55 +00:00
scripts meson: set release date from .doap file for releases 2020-07-08 17:28:57 +01:00
tests Add test cases for mountpoint of '/' 2020-12-23 19:45:13 +00:00
.gitignore Remove autotools build 2019-10-13 13:52:37 +01:00
.gitlab-ci.yml ci: include template from gst-ci master branch again 2020-09-08 17:30:49 +01:00
AUTHORS Initial import 2008-10-09 13:29:12 +01:00
ChangeLog Release 1.18.0 2020-09-08 00:08:29 +01:00
COPYING Fix FSF address 2012-11-04 00:14:25 +00:00
COPYING.LIB Fix FSF address 2012-11-04 00:14:25 +00:00
gst-rtsp-server.doap Release 1.18.0 2020-09-08 00:08:29 +01:00
meson.build Meson: Use pkg-config generator 2020-10-23 14:03:43 +00:00
meson_options.txt docs: Port to hotdoc 2019-05-13 11:38:39 -04:00
NEWS Release 1.18.0 2020-09-08 00:08:29 +01:00
README Fix typo in README 2015-03-15 12:27:39 +00:00
RELEASE Release 1.18.0 2020-09-08 00:08:29 +01:00
REQUIREMENTS Initial import 2008-10-09 13:29:12 +01:00
TODO rtsp: cleanups 2012-11-15 17:11:16 +01:00

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.