Playing AAC+ Streams in appery.io

This forum contains topics that were moved from Get Satisfaction
tcbeaton
Posts: 0
Joined: Wed Oct 01, 2014 4:07 am

Playing AAC+ Streams in appery.io

Post 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!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Playing AAC+ Streams in appery.io

Post 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.

tcbeaton
Posts: 0
Joined: Wed Oct 01, 2014 4:07 am

Playing AAC+ Streams in appery.io

Post 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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Playing AAC+ Streams in appery.io

Post 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...

tcbeaton
Posts: 0
Joined: Wed Oct 01, 2014 4:07 am

Playing AAC+ Streams in appery.io

Post 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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Playing AAC+ Streams in appery.io

Post 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.

tcbeaton
Posts: 0
Joined: Wed Oct 01, 2014 4:07 am

Playing AAC+ Streams in appery.io

Post 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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Playing AAC+ Streams in appery.io

Post 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".

tcbeaton
Posts: 0
Joined: Wed Oct 01, 2014 4:07 am

Playing AAC+ Streams in appery.io

Post by tcbeaton »

Hello Evgene,

Thanks, this is perfect!

tcbeaton
Posts: 0
Joined: Wed Oct 01, 2014 4:07 am

Playing AAC+ Streams in appery.io

Post 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.

Post Reply