HLS playback Error: Server does not accept Range HTTP header

Alexander Zallesov zallesov at soundcloud.com
Mon Jan 13 09:38:53 PST 2014


Hello. looks like I encounter a bug but before I file it I want to hear
some feedback from more experienced gstreamer users.

I use gstreamer android 1.2.1

I try to play simple hls audio only mp3 stream (
https://ec-media-hls.soundcloud.com/playlist/swx3WdvxAQ9W.128.mp3/playlist.m3u8
)

My pipeline is

souphttpsrc ! hlsdemux ! mpegaudioparse ! mad ! audioconvert ! audioresample!
autoaudiosink

 or just playbin. issue is the same.

And my source code has few modifications from Android Tutorial5.

My stream gets played once in 3-4 tries. If it starts it plays/pause fine.
But more often I get this errors.

gstsouphttpsrc.c:888:gst_soup_http_src_got_headers_cb:<mysource> error:
Server does not support seeking.
gst_soup_http_src_got_headers_cb:<mysource> error: Server does not accept
Range HTTP header, URL:
https://ec-media-hls.soundcloud.com/playlist/swx3WdvxAQ9W.128.mp3/playlist.m3u8


Server does not support range requests. or maybe does. It does not matter
as it should not to serve HLS playlists and chunks. And why it plays fine
sometimes then?

Please share the workaround if you have one or thumb up for bug report.

Thanks.



Alexander Zallesov

Engineer



http://soundcloud.com/zallesov/likes <http://soundcloud.com/zallesov>

Skype: zall_nsk

Cell: 01573-7654395

SoundCloud Ltd. - Rosenthaler Str. 13

10119 Berlin, Germany



Discover what's new on SoundCloud <https://soundcloud.com/explore>



Limited registered at Company House, Cardiff, UK.

 Registered Office: London, UK. Company number 6343600

Managing Director: Alexander Ljung

 Local Branch Office Germany: AG Charlottenburg, HRB 110657B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140113/4e824fff/attachment.html>


More information about the gstreamer-android mailing list