"GStreamer" (GNOME Bugzilla)
2018-01-22 22:57:57 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=792804
Bug ID: 792804
Summary: gst_rtsp_mount_points_match does not match on a prefix
unless gint*matched !=NULL
Classification: Platform
Product: GStreamer
Version: 1.12.x
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-rtsp-server
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@thoth.purplefrog.com
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---
I was trying to create an RTSP/HTTP proxy using the gst-rtsp-server framework.
I created a factory and tried to mount it on /proxy in hopes that I could serve
up media when a client connected to rtsp://localhost:8554/proxy/bigbuckbunny or
rtsp://localhost:8554/proxy/caminandes .
Unfortunately it appears that gst_rtsp_mount_points_match will not return the
factory for a partial match if the gint*matched parameter is NULL.
This happens to be the case when handle_describe_request() calls find_media().
Likewise handle_announce_request(). So while the factory might be usable in a
SETUP call, it causes a 404 for the media in a DESCRIBE RTSP request.
If it is important for the gst_rtsp_mount_points_match to return null for
prefix matches when matched==null (which appears to be the behavior described
in the API documentation), then I recommend you adjust handle_announce_request
and handle_describe_request to pass in a non-zero matched pointer.
Bug ID: 792804
Summary: gst_rtsp_mount_points_match does not match on a prefix
unless gint*matched !=NULL
Classification: Platform
Product: GStreamer
Version: 1.12.x
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-rtsp-server
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@thoth.purplefrog.com
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---
I was trying to create an RTSP/HTTP proxy using the gst-rtsp-server framework.
I created a factory and tried to mount it on /proxy in hopes that I could serve
up media when a client connected to rtsp://localhost:8554/proxy/bigbuckbunny or
rtsp://localhost:8554/proxy/caminandes .
Unfortunately it appears that gst_rtsp_mount_points_match will not return the
factory for a partial match if the gint*matched parameter is NULL.
This happens to be the case when handle_describe_request() calls find_media().
Likewise handle_announce_request(). So while the factory might be usable in a
SETUP call, it causes a 404 for the media in a DESCRIBE RTSP request.
If it is important for the gst_rtsp_mount_points_match to return null for
prefix matches when matched==null (which appears to be the behavior described
in the API documentation), then I recommend you adjust handle_announce_request
and handle_describe_request to pass in a non-zero matched pointer.
--
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.