Page 1 of 2

Playing AAC+ Streams in appery.io

Posted: Wed Oct 01, 2014 4:07 am
by tcbeaton

Is it possible to play an AAC+ or MP3 stream within Appery? I've tried to load the URL into the "Audio" control, as well as attaching the following JavaScript to the "click" event of a button object. Nothing seems to work.

Appery("streamPlayer").find("source").eq(0).attr("src","[url=http://mm1.zradio.org:8002").attr("type","audio/aacp]http://mm1.zradio.org:8002").attr("ty...[/url]")

The URL for AAC is in the code example above, I tried it with and without the "type" attribute. The URL for the MP3 stream is http://mm1.zradio.org:8008 .

Thanks!


Playing AAC+ Streams in appery.io

Posted: Wed Oct 01, 2014 11:47 am
by Kateryna Grynko

HI Thomas,

We are able to play AAC using this URL: codehttp://66.250.28.135:8004/relay/code.
We get it from file downloaded by this link:
http://www.shoutcast.com/Search?query...

Your link opens a translation data.


Playing AAC+ Streams in appery.io

Posted: Wed Oct 01, 2014 12:43 pm
by tcbeaton

Thanks Kateryna. I think I'm getting closer! :-)

Using the IP address instead of the domain name works in the Mobile Preview, however I hear no audio on my Samsung S4 (using the browser preview or the downloaded .apk file) and on my iPad Mini (using the browser preview).

Thanks again.


Playing AAC+ Streams in appery.io

Posted: Wed Oct 01, 2014 3:29 pm
by Evgene Karachevtsev

Hello Thomas,

Could you please share your project with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us its name? http://devcenter.appery.io/documentat...


Playing AAC+ Streams in appery.io

Posted: Wed Oct 01, 2014 3:45 pm
by tcbeaton

Hello Evgene,

The app is called "Z Test 01". I've placed the player in the lower right of the startScreen. The button on the bottom left is the beginnings of a JavaScript routine that will be able to programatically change the stream from within the app.

Thanks.


Playing AAC+ Streams in appery.io

Posted: Fri Oct 03, 2014 2:26 pm
by Evgene Karachevtsev

Thomas,

There seems to be a bug when playing AAC+ Streams. Sometimes Play button is disabled and sometimes enabled, but audio doesn't play on device... We reported this issue.


Playing AAC+ Streams in appery.io

Posted: Fri Oct 03, 2014 2:31 pm
by tcbeaton

Evgene,

Thank you for the response. I will await any further developments on this topic.

If I could ask one other question related to AAC+ streams... Is there any way to extract the metadata within the stream containing the title, artist, etc. information for use within Appery.io? Depending upon how the stream is encoded this information will be included in the stream, it could then be used with JavaScript to display the information within the app. (Let me know if I should ask this as a separate question, so the topic is representative of the question)

Thanks again for your help.


Playing AAC+ Streams in appery.io

Posted: Mon Oct 06, 2014 11:58 am
by Evgene Karachevtsev

Hello Thomas,

In your case, you can get information about current songs receiving page http://mm1.zradio.org:8002/index.html... and parse it to retrieve data from the field "Current Song".


Playing AAC+ Streams in appery.io

Posted: Mon Oct 06, 2014 7:27 pm
by tcbeaton

Hello Evgene,

Thanks, this is perfect!


Playing AAC+ Streams in appery.io

Posted: Tue Oct 14, 2014 12:46 am
by tcbeaton

Hello Evgene,

Following up on the AAC+ stream playback bug on devices from about ten days ago. Have you heard whether the bug has been fixed, or do you have an estimated timeline?

Thanks again for all your help.