rtsp-media: set a 0 storage size for TCP receivers
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 4 Sep 2020 22:30:42 +0000 (00:30 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 9 Sep 2020 20:18:44 +0000 (20:18 +0000)
commit3b9eaa092e74da2c63fe6a98f5942bf100511dde
tree438fbe101c350844e1ee2c816048dbeaa0e25b64
parent5699ada939bec5a1317d4a7d1fb6e0afd70fad7e
rtsp-media: set a 0 storage size for TCP receivers

ulpfec correction is obviously useless when receiving a stream
over TCP, and in TCP modes the rtp storage receives non
timestamped buffers, causing it to queue buffers indefinitely,
until the queue grows so large that sanity checks kick in and
warnings start to get emitted.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/149>
gst/rtsp-server/rtsp-media.c
gst/rtsp-server/rtsp-server-internal.h
gst/rtsp-server/rtsp-stream.c