"GStreamer" (GNOME Bugzilla)
2018-07-12 10:40:36 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=796797
Bug ID: 796797
Summary: Gstreamer RTSP client connects to Gstreamer RTSP
server: Only fixed number of connections are possible,
then always "Error (503): Service Unavailable"
Classification: Platform
Product: GStreamer
Version: 1.14.1
OS: Windows
Status: NEW
Severity: normal
Priority: Normal
Component: gst-rtsp-server
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@online.de
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---
Created attachment 373004
--> https://bugzilla.gnome.org/attachment.cgi?id=373004&action=edit
Wireshark trace of 5 successful connection and 20 not successful connections
I have a Gstreamer RTSP server, Gstreamer version 1.14.1 on Linux i.MX6.
I use a Gstreamer RTSP client, Gstreamer version 1.14.1 also on Linux i.MX6.
Both on same machine or on different machines, does not matter.
Linux is almost mainline latest.
Client side:
# cat stopme_5s
eos, name=Done-testing, playback-time=5.0
stop, playback-time=7.0
# cat run_streaming_5s_multiple_times.sh
echo "*************************************"
echo "*** HERE IS THE START OF THE TEST ***"
echo "*************************************"
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
# cat run_streaming_5s.sh
gst-validate-1.0 --set-scenario stopme_5s rtspsrc
location=rtsp://10.5.121.255:8554/live ! capsfilter
caps=application/x-rtp,media=video ! rtph264depay ! identity silent=false !
fakesink
#
Server side:
Part of a bigger application.
When I let run the above test script, I see that I can connect 5 times,
but all further connects are rejected by "Error (503): Service Unavailable".
Major problem: Why only 5 connections? TCP is completely disconnected,
no still established connections? Does RTSP server not handle sudden
disconnects of the TCP connections and requires TEARDOWN to work
correctly?
Minor problem: Is it correct, that Gstreamer RTSP client (Element rtspsrc)
does not use a TEARDOWN message? Instead just disconnects?
I found https://bugzilla.gnome.org/show_bug.cgi?id=757624,
looks similar, but I assume that such an important bug is not existing for 3
years?
I attach a Wireshark trace and also a Gstreamer trace.
Bug ID: 796797
Summary: Gstreamer RTSP client connects to Gstreamer RTSP
server: Only fixed number of connections are possible,
then always "Error (503): Service Unavailable"
Classification: Platform
Product: GStreamer
Version: 1.14.1
OS: Windows
Status: NEW
Severity: normal
Priority: Normal
Component: gst-rtsp-server
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@online.de
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---
Created attachment 373004
--> https://bugzilla.gnome.org/attachment.cgi?id=373004&action=edit
Wireshark trace of 5 successful connection and 20 not successful connections
I have a Gstreamer RTSP server, Gstreamer version 1.14.1 on Linux i.MX6.
I use a Gstreamer RTSP client, Gstreamer version 1.14.1 also on Linux i.MX6.
Both on same machine or on different machines, does not matter.
Linux is almost mainline latest.
Client side:
# cat stopme_5s
eos, name=Done-testing, playback-time=5.0
stop, playback-time=7.0
# cat run_streaming_5s_multiple_times.sh
echo "*************************************"
echo "*** HERE IS THE START OF THE TEST ***"
echo "*************************************"
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
./run_streaming_5s.sh
# cat run_streaming_5s.sh
gst-validate-1.0 --set-scenario stopme_5s rtspsrc
location=rtsp://10.5.121.255:8554/live ! capsfilter
caps=application/x-rtp,media=video ! rtph264depay ! identity silent=false !
fakesink
#
Server side:
Part of a bigger application.
When I let run the above test script, I see that I can connect 5 times,
but all further connects are rejected by "Error (503): Service Unavailable".
Major problem: Why only 5 connections? TCP is completely disconnected,
no still established connections? Does RTSP server not handle sudden
disconnects of the TCP connections and requires TEARDOWN to work
correctly?
Minor problem: Is it correct, that Gstreamer RTSP client (Element rtspsrc)
does not use a TEARDOWN message? Instead just disconnects?
I found https://bugzilla.gnome.org/show_bug.cgi?id=757624,
looks similar, but I assume that such an important bug is not existing for 3
years?
I attach a Wireshark trace and also a Gstreamer trace.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.