[Bug 758922] New: rtspconnection should optionally make HTTP requests with abs_path instead of absoluteURI
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Dec 1 11:54:17 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=758922
Bug ID: 758922
Summary: rtspconnection should optionally make HTTP requests
with abs_path instead of absoluteURI
Classification: Platform
Product: GStreamer
Version: 1.6.1
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: evan.callaway at ipconfigure.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Consider the following pipeline for streaming RTSP over HTTP:
gst-launch-1.0 rtspsrc
location="rtsph://user:pass@192.168.105.64:80/rtsp_tunnel" short-header=true !
decodebin ! fakesink
Referencing http://www.w3.org/Protocols/HTTP/1.0/spec.html#Request-URI, with
the current rtspconnection code we always specify the absoluteURI in our
requests. For example, a representative request would look like this:
POST http://192.168.105.64:80/rtsp_tunnel HTTP/1.0
This seems to work well for many servers, but there are a few very strict
servers that require HTTP requests to go to abs_path:
POST /rtsp_tunnel HTTP/1.0
Obviously, using absoluteURI is required if you are using a proxy so that the
request can be correctly routed. I propose that we add a "use-abs-path" flag
to rtspsrc which in turn would instruct rtspconnection to use abs_path instead
of absoluteURI for HTTP requests for compatibility for these strict servers.
Please let me know your thoughts on this. I'm happy to provide a patch if this
seems like an agreeable solution.
This issue would also be resolved by using HTTP/1.1 with the Host header as it
would be correctly parsed.
--
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