GNOME Bugzilla – Bug 766619
Space between ; and timeout= in session header is not RFC2326 compliant.
Last modified: 2016-05-20 06:09:40 UTC
Created attachment 328150 [details] [review] Patch to remove the space between ; and timeout. The RFC has this... Session = "Session" ":" session-id [ ";" "timeout" "=" delta-seconds ] which makes no provision for a space. Live555 copes OK, but this breaks the timeout param parsing in ffmpeg with subsequent dropouts if the server configures a timeout. Haven't checked Gstreamer's rtsp client, but I'd assume it handles the space. Other RTSP servers do not have a space here. Trivial patch to remove the space attached.
Comment on attachment 328150 [details] [review] Patch to remove the space between ; and timeout. Can you attach this as a "git format-patch" formatted patch?
The RTSP 2 spec is even more explicit about this here: Session = "Session" HCOLON session-id [ SEMI "timeout" EQUAL delta-seconds ] There are no spaces anywhere
The parsing code in libgstrtsp is dropping all spaces anywhere in that string btw
Created attachment 328174 [details] [review] Original git format-patch patch Updated with original git format-patch version.
commit 178f2d6fe56668ccd5abdc749c79e04caaff2cfc Author: Ian <ian.arkver.dev@gmail.com> Date: Wed May 18 16:48:44 2016 +0100 rtsp-session: RFC2326 does not allow a space between ; and timeout in the Session header This works with rtspsrc and live555, but fails with e.g. ffmpeg. https://bugzilla.gnome.org/show_bug.cgi?id=766619