GNOME Bugzilla – Bug 510229
[gnomevfssrc] HTTPS support
Last modified: 2008-02-11 18:02:23 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:
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...
> Bastien: What's the exact problem with the GNOME-VFS source?
> gst-launch-0.10 gnomevfssrc
> \! 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).
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.