[gstreamer-bugs] [Bug 594035] Add HTTP Live Streaming playback support

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Oct 28 17:43:35 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=594035
  GStreamer | don't know | git

--- Comment #14 from Andoni Morales <ylatuya at gmail.com> 2010-10-29 00:43:29 UTC ---
I have been thinking again on how to implemented it, and it looks impossible to
do the way you propose. 
If the m3u8 is a variant playlist
(http://tools.ietf.org/html/draft-pantos-http-live-streaming-04#section-8.5),
it might be doable this way because this playlist is only downloaded once and
contains the uri's for the fragments playlists.
Instead, if the m3u8 is a sliding window playlist
(http://tools.ietf.org/html/draft-pantos-http-live-streaming-04#section-8.3) it
won't work, because the client needs to refresh the playlist periodically and
the element won't know its uri.

What I have done at the moment is to add the 'hls' protocol in the UriInterface
implementation of the source element, where 'hls' is then translated to 'http'
to fetch the resource from the good location.

The following commands works:
gst-launch hlsrc location=http://my-server/main.m3u8
gst-launch playbin2 uri=hls://my-server/main.m3u8

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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