<div dir="ltr">Thanx for response Adoni and Sebastian. I switched to gstreamer 1.2 and now using adopted tutorials you suggested. I also added G_IO_MODULES := gnutls to Android.mk file. But error looks to be still there in another form. For pipeline with just mp3<p class="">
<i><span class="">uridecodebin</span> <span class="">uri</span>=<a href="https://s3-us-west-2.amazonaws.com/soundtest.soundcloud.com/shalalafon.mp3">https://s3-us-west-2.amazonaws.com/soundtest.soundcloud.com/shalalafon.mp3</a> ! <span class="">audioconvert</span> ! <span class="">audioresample</span> ! <span class="">autoaudiosink</span></i>I got error</p>
<div><div><i>Error received from element amcaudiodec-omxgooglemp3decoder0: Internal data stream error. </i></div><div>while<i> </i>http url works well.</div><div><br></div><div>For pipeline </div><div><i><span class="">souphttpsrc</span> location=<a href="https://ec-media-hls.soundcloud.com/playlist/swx3WdvxAQ9W.128.mp3/playlist.m3u8">https://ec-media-hls.soundcloud.com/playlist/swx3WdvxAQ9W.128.mp3/playlist.m3u8</a> ! <span class="">hlsdemux</span> ! <span class="">tsdemux</span> ! <span class="">mpegaudioparse</span> ! mad ! <span class="">audioconvert</span> ! <span class="">audioresample</span> ! <span class="">autoaudiosink</span></i></div>
<div><span class="">Eroro is this:</span></div>
<div><i>Error received from element hlsdemux1: GStreamer encountered a general stream error.</i><br><div class="gmail_extra">while<i> </i>http url works well.</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">
<p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">Alexander Zallesov</p>
<p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">Engineer </p><p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">
</p><p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px"><a href="http://soundcloud.com/zallesov" style="color:rgb(17,68,136)" target="_blank">http://soundcloud.com/zallesov/likes</a></p>
<p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">Skype: zall_nsk</p><p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">
Cell: <span style="font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px">01573-7654395</span></p><p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">
SoundCloud Ltd. - Rosenthaler Str. 13</p><p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">10119 Berlin, Germany</p><p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">
</p><p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px"><a href="https://soundcloud.com/explore" style="color:rgb(17,68,136)" target="_blank">Discover what's new on SoundCloud</a></p>
<p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px"> </p><p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">
<span style="line-height:1.2em;font-size:10px">Limited registered at Company House, Cardiff, UK.</span></p><p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">
<span style="line-height:1.2em;font-size:10px"> </span><span style="line-height:1.2em;font-size:10px">Registered Office: London, UK. Company number 6343600</span></p><p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">
<span style="line-height:1.2em;font-size:10px">Managing Director: Alexander Ljung</span></p><p style="margin:0px;padding:0px;color:rgb(68,68,68);font-family:'Segoe UI','Lucida Grande',sans-serif;line-height:19px">
<span style="line-height:1.2em;font-size:10px"> </span><span style="line-height:1.2em;font-size:10px">Local Branch Office Germany: AG Charlottenburg, HRB 110657B</span></p></div></div>
<br><br><div class="gmail_quote">On Fri, Nov 8, 2013 at 10:03 PM, <span dir="ltr"><<a href="mailto:gstreamer-android-request@lists.freedesktop.org" target="_blank">gstreamer-android-request@lists.freedesktop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Send gstreamer-android mailing list submissions to<br>
<a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gstreamer-android-request@lists.freedesktop.org" target="_blank">gstreamer-android-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gstreamer-android-owner@lists.freedesktop.org" target="_blank">gstreamer-android-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gstreamer-android digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: HLS on Android/IOS over HTTPS (Sebastian Dr?ge)<br>
2. Re: HLS on Android/IOS over HTTPS (Andoni Morales)<br>
3. Re: HLS on Android/IOS over HTTPS (Andoni Morales)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 08 Nov 2013 20:06:26 +0100<br>
From: Sebastian Dr?ge <<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>><br>
To: Discussions about GStreamer on Android<br>
<<a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a>><br>
Subject: Re: HLS on Android/IOS over HTTPS<br>
Message-ID: <1383937586.11116.32.camel@thor.lan><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
On Fr, 2013-11-08 at 14:32 +0100, Alexander Zallesov wrote:<br>
> Hello.<br>
><br>
> I've managed to make HLS working on android and ios with hlsdemux and<br>
> mpegtsdemux. My pipeline looks like this and it works<br>
><br>
> *souphttpsrc<br>
> location=<a href="http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8" target="_blank">http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8</a><br>
> <<a href="http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8" target="_blank">http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8</a>><br>
> ! hlsdemux ! tsdemux ! mpegaudioparse ! mad ! audioconvert ! audioresample<br>
> ! autoaudiosink", &error);*<br>
><br>
> Troubles start when I try to play an HTTPS url. I got run time error<br>
><br>
> *TLS/SSL support not available; install glib-networking*<br>
><br>
><br>
> I have it installed on my mac and https urls plays from command line.<br>
><br>
> Question is how to make it work on android/ios? Should I include this lib<br>
> to build somehow? How?<br>
<br>
Add this to your Android.mk (see tutorial 5 for example):<br>
G_IO_MODULES := gnutls<br>
<br>
> PS. Gstreamer seems to be 0.1 as I followed tutorials from <a href="http://gsreamer.com" target="_blank">gsreamer.com</a>.<br>
> I'm using android tutorial 2 as base.<br>
> Thanx in advance.<br>
<br>
Ideally you would use the latest version available from here:<br>
<a href="http://gstreamer.freedesktop.org/data/pkg/android/1.2.0/" target="_blank">http://gstreamer.freedesktop.org/data/pkg/android/1.2.0/</a><br>
<br>
0.10 is no longer maintained and you won't get much community support<br>
for that version as people moved on to 1.x almost 2 years ago already.<br>
<br>
You can find those tutorials ported to 1.x here:<br>
<a href="http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/" target="_blank">http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/</a><br>
<br>
--<br>
Sebastian Dr?ge <<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>><br>
Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: signature.asc<br>
Type: application/pgp-signature<br>
Size: 966 bytes<br>
Desc: This is a digitally signed message part<br>
URL: <<a href="http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131108/4b5d5be4/attachment-0001.pgp" target="_blank">http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131108/4b5d5be4/attachment-0001.pgp</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 8 Nov 2013 16:31:12 +0100<br>
From: Andoni Morales <<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>><br>
To: Discussions about GStreamer on Android<br>
<<a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a>><br>
Subject: Re: HLS on Android/IOS over HTTPS<br>
Message-ID:<br>
<<a href="mailto:CAJNDOggE5aQtCc1ayGPbroP9-cBbTHHt2USbQ%2BAJ7Og30WnpSA@mail.gmail.com" target="_blank">CAJNDOggE5aQtCc1ayGPbroP9-cBbTHHt2USbQ+AJ7Og30WnpSA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
2013/11/8 Alexander Zallesov <<a href="mailto:zallesov@soundcloud.com" target="_blank">zallesov@soundcloud.com</a>><br>
<br>
> Hello.<br>
><br>
> I've managed to make HLS working on android and ios with hlsdemux and<br>
> mpegtsdemux. My pipeline looks like this and it works<br>
><br>
> *souphttpsrc<br>
> location=<a href="http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8" target="_blank">http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8</a><br>
> <<a href="http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8" target="_blank">http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8</a>><br>
> ! hlsdemux ! tsdemux ! mpegaudioparse ! mad ! audioconvert ! audioresample<br>
> ! autoaudiosink", &error);*<br>
><br>
> Troubles start when I try to play an HTTPS url. I got run time error<br>
><br>
> *TLS/SSL support not available; install glib-networking*<br>
><br>
><br>
> I have it installed on my mac and https urls plays from command line.<br>
><br>
> Question is how to make it work on android/ios? Should I include this lib<br>
> to build somehow? How?<br>
><br>
> PS. Gstreamer seems to be 0.1 as I followed tutorials from <a href="http://gsreamer.com" target="_blank">gsreamer.com</a>.<br>
> I'm using android tutorial 2 as base.<br>
> Thanx in advance.<br>
><br>
<br>
Hi Alex,<br>
<br>
I am sorry for the late reply, we are releasing a new product and I have<br>
been really busy this week.<br>
To add support for TLS you need to include a the gnutls GIO module. Add<br>
this line to your Android.mk<br>
G_IO_MODULES=gnutls<br>
<br>
Next week I will probably have some time to explain things a bit more,<br>
because for new developments you should be using GStreamer 1.2. For<br>
application developers the high-level API is almost the same so you won't<br>
have troubles moving to 1.2.<br>
I will try to explain you the current status of 0.10 vs 1.2 and why the<br>
GStreamer SDK is not providing yet binaries for 1.2<br>
<br>
Cheers,<br>
Andoni<br>
<br>
><br>
> Alexander Zallesov<br>
><br>
> Engineer<br>
><br>
><br>
><br>
> <a href="http://soundcloud.com/zallesov/likes" target="_blank">http://soundcloud.com/zallesov/likes</a> <<a href="http://soundcloud.com/zallesov" target="_blank">http://soundcloud.com/zallesov</a>><br>
><br>
> Skype: zall_nsk<br>
><br>
> Cell: 01573-7654395<br>
><br>
> SoundCloud Ltd. - Rosenthaler Str. 13<br>
><br>
> 10119 Berlin, Germany<br>
><br>
><br>
><br>
> Discover what's new on SoundCloud <<a href="https://soundcloud.com/explore" target="_blank">https://soundcloud.com/explore</a>><br>
><br>
><br>
><br>
> Limited registered at Company House, Cardiff, UK.<br>
><br>
> Registered Office: London, UK. Company number 6343600<br>
><br>
> Managing Director: Alexander Ljung<br>
><br>
> Local Branch Office Germany: AG Charlottenburg, HRB 110657B<br>
><br>
> _______________________________________________<br>
> gstreamer-android mailing list<br>
> <a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
><br>
><br>
<br>
<br>
--<br>
Andoni Morales Alastruey<br>
<br>
LongoMatch:The Digital Coach<br>
<a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131108/70bae733/attachment.html" target="_blank">http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131108/70bae733/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 8 Nov 2013 22:02:43 +0100<br>
From: Andoni Morales <<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>><br>
To: Discussions about GStreamer on Android<br>
<<a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a>><br>
Subject: Re: HLS on Android/IOS over HTTPS<br>
Message-ID:<br>
<<a href="mailto:CAJNDOgisHoEUNcTtiBnSQKZk_8htOJvu5s1tMJdpB-qwDk-rYw@mail.gmail.com" target="_blank">CAJNDOgisHoEUNcTtiBnSQKZk_8htOJvu5s1tMJdpB-qwDk-rYw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
2013/11/8 Andoni Morales <<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>><br>
<br>
><br>
><br>
><br>
> 2013/11/8 Alexander Zallesov <<a href="mailto:zallesov@soundcloud.com" target="_blank">zallesov@soundcloud.com</a>><br>
><br>
>> Hello.<br>
>><br>
>> I've managed to make HLS working on android and ios with hlsdemux and<br>
>> mpegtsdemux. My pipeline looks like this and it works<br>
>><br>
>> *souphttpsrc<br>
>> location=<a href="http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8" target="_blank">http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8</a><br>
>> <<a href="http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8" target="_blank">http://wpc.658d.edgecastcdn.net/80658D/unprotected-media/shalalafon_ts/playlist.m3u8</a>><br>
>> ! hlsdemux ! tsdemux ! mpegaudioparse ! mad ! audioconvert ! audioresample<br>
>> ! autoaudiosink", &error);*<br>
>><br>
>> Troubles start when I try to play an HTTPS url. I got run time error<br>
>><br>
>> *TLS/SSL support not available; install glib-networking*<br>
>><br>
>><br>
>> I have it installed on my mac and https urls plays from command line.<br>
>><br>
>> Question is how to make it work on android/ios? Should I include this lib<br>
>> to build somehow? How?<br>
>><br>
>> PS. Gstreamer seems to be 0.1 as I followed tutorials from <a href="http://gsreamer.com" target="_blank">gsreamer.com</a>.<br>
>> I'm using android tutorial 2 as base.<br>
>> Thanx in advance.<br>
>><br>
><br>
> Hi Alex,<br>
><br>
> I am sorry for the late reply, we are releasing a new product and I have<br>
> been really busy this week.<br>
> To add support for TLS you need to include a the gnutls GIO module. Add<br>
> this line to your Android.mk<br>
> G_IO_MODULES=gnutls<br>
><br>
> Next week I will probably have some time to explain things a bit more,<br>
> because for new developments you should be using GStreamer 1.2. For<br>
> application developers the high-level API is almost the same so you won't<br>
> have troubles moving to 1.2.<br>
> I will try to explain you the current status of 0.10 vs 1.2 and why the<br>
> GStreamer SDK is not providing yet binaries for 1.2<br>
><br>
><br>
<br>
This weird replay is because I though the mail was sent to me directly and<br>
I didn't replied it yet. But this one has been sent to the ML :)<br>
<br>
Andoni<br>
<br>
> Cheers,<br>
> Andoni<br>
><br>
>><br>
>> Alexander Zallesov<br>
>><br>
>> Engineer<br>
>><br>
>><br>
>><br>
>> <a href="http://soundcloud.com/zallesov/likes" target="_blank">http://soundcloud.com/zallesov/likes</a> <<a href="http://soundcloud.com/zallesov" target="_blank">http://soundcloud.com/zallesov</a>><br>
>><br>
>> Skype: zall_nsk<br>
>><br>
>> Cell: 01573-7654395<br>
>><br>
>> SoundCloud Ltd. - Rosenthaler Str. 13<br>
>><br>
>> 10119 Berlin, Germany<br>
>><br>
>><br>
>><br>
>> Discover what's new on SoundCloud <<a href="https://soundcloud.com/explore" target="_blank">https://soundcloud.com/explore</a>><br>
>><br>
>><br>
>><br>
>> Limited registered at Company House, Cardiff, UK.<br>
>><br>
>> Registered Office: London, UK. Company number 6343600<br>
>><br>
>> Managing Director: Alexander Ljung<br>
>><br>
>> Local Branch Office Germany: AG Charlottenburg, HRB 110657B<br>
>><br>
>> _______________________________________________<br>
>> gstreamer-android mailing list<br>
>> <a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br>
>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
>><br>
>><br>
><br>
><br>
> --<br>
> Andoni Morales Alastruey<br>
><br>
> LongoMatch:The Digital Coach<br>
> <a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a><br>
><br>
<br>
<br>
<br>
--<br>
Andoni Morales Alastruey<br>
<br>
LongoMatch:The Digital Coach<br>
<a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131108/fceca7b4/attachment.html" target="_blank">http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131108/fceca7b4/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gstreamer-android mailing list<br>
<a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br>
<br>
End of gstreamer-android Digest, Vol 30, Issue 2<br>
************************************************<br>
</blockquote></div><br></div></div></div></div>