After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 510229 - [gnomevfssrc] HTTPS support
[gnomevfssrc] HTTPS support
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: 0.10.18
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-17 17:26 UTC by Bastien Nocera
Modified: 2008-02-11 18:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2008-01-17 17:26:24 UTC
The gnome-vfs source doesn't support https, as gnome-vfs doesn't advertise https as supported (but supports davs, WebDAV with SSL).

The neon source in -bad doesn't support it either (should be trivial to make it supported).

Support should definitely go into the upcoming libsoup source though.

See the downstream:
https://bugzilla.redhat.com/show_bug.cgi?id=428090
Comment 1 Mathias Hasselmann (IRC: tbf) 2008-01-21 19:57:57 UTC
Bastien: What's the exact problem with the GNOME-VFS source?

gst-launch-0.10 gnomevfssrc location=https://pergamaunz:59110/contents/media%2F01%20-%20We%20Are%20All%20Made%20Of%20Stars.mp3 \! flump3dec \! gconfaudiosink

...works for me...
Comment 2 Tim-Philipp Müller 2008-01-21 20:13:23 UTC
> Bastien: What's the exact problem with the GNOME-VFS source?
> 
> gst-launch-0.10 gnomevfssrc
> location=https://pergamaunz:59110/contents/media%2F01%20-%20We%20Are%20All%20Made%20Of%20Stars.mp3
> \! flump3dec \! gconfaudiosink
> 
> ...works for me...

This is different, because it uses a different mechanism than playbin does. If you use the location property directly you can use any protocol gnomevfs supports. There's another mechanism though, namely the GstUriHandler interface + gst_element_make_from_uri(). This works (sort of) via a whitelist of protocols that each element can advertise to support, and which is then stored in the registry. For GnomeVFS we have a fixed list of protocols for this purpose. HTTPS is not in that list (which is just an oversight), so gst_element_make_from_uri() won't pick gnomevfssrc for https:// URIs.

Dead easy to fix, but we're frozen currently.

(dav/davs are also not in that list, but that's because I didn't consider them stable/reliably enough when I last tried).
Comment 3 Tim-Philipp Müller 2008-02-11 18:02:23 UTC
Fixed for gnome-vfs (gio should do it automatically if it's supported):

 2008-02-11  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_check_get_range):
        * ext/gnomevfs/gstgnomevfsuri.c: (gst_gnomevfs_get_supported_uris):
          Add support for https protocol. Fixes #510229.