[Bug 772610] New: rtspsrc doesn't support redirect on play
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Oct 8 15:41:03 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=772610
Bug ID: 772610
Summary: rtspsrc doesn't support redirect on play
Classification: Platform
Product: GStreamer
Version: 1.9.90
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: staples255 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 337233
--> https://bugzilla.gnome.org/attachment.cgi?id=337233&action=edit
If a redirect is encountered on RTSP PLAY, close, reset protocols and restart
the play command
As mentioned by comments in rtspsrc.c, redirect is only implemented for the
RTSP DESCRIBE call.
For servers that redirect on PLAY, redirect sort of works, but only because UDP
recv times out and the reconnect behavior ends up doing the job.
I suspect that's what was going on with related bug,
https://bugzilla.gnome.org/show_bug.cgi?id=768232
The fix for that bug makes sure protocols aren't forced to tcp-only in
gst_rtspsrc_reconnect if a src->needs_reconnect is set. However, since
reconnect only happens after a successful connect, it must have been trying to
reconnect on PLAY. I suspect that only appeared to worked because the initial
PLAY call ignored the redirect but then UDP recv subsequently timed out, and
then reconnect used the new URL.
A better fix would be to implement redirect-on-play as shown in the attached
patch.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list