Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

AAC streams

I'm trying to create an iPhone player for a radio station (reinventing the wheel but it's a good learning curve). Ideally it should play the station's 96k aac stream but it doesn't seem the Titanium.Media.AudioPlayer can deal with the format which is a real pity. It bombs out with a 'fmt' error.

Are there any plans to be able to play an aac stream in the near future?

— asked May 19th 2010 by Patrick Mounteney
  • aac
  • iphone
0 Comments

4 Answers

  • I would also like to be able to play an AAC stream, again, is this being worked on? AAC is used so often with Apple products it would make sense in my opinion if it could be included at some point?

    — answered June 10th 2010 by Stephen Page
    permalink
    0 Comments
  • bump

    — answered August 9th 2010 by Sindre Sorhus
    permalink
    0 Comments
  • I really need to be able to support AAC as well. I tried it in the latest rev but no love still, how are others getting around this limitation?

    — answered August 19th 2010 by Anthony Webb
    permalink
    2 Comments
    • At the moment I am treading water. Nobody from Appcelerator seems to be a hurry to answer my initial question as to if aac will ever be supported. AAC is much better sounding than mp3 at lower bandwidths and would be a real pity to let it wither on the vine.

      — commented August 19th 2010 by Patrick Mounteney
    • Real bummer. Wonder if they are answering questions to their members $2k/year customers. I'd like to be a part of that club, but I would want to know that I would get some answers. All of my clients are AAC stream only and this is a major hurdle for me.

      — commented August 26th 2010 by Anthony Webb
  • I have put an app together with Titanium that streams an AAC shoutcast using the following:

    for iOS

    Use a videoPlayer and not audioPlayer:

    var streamer = Ti.Media.createVideoPlayer({
                    url : 'http://198.144.148.12:8000/'
                });
                streamer.play();
    

    for Android

    audioPlayer or videoPlayer do not support AAC at all so I developed the following module:

    https://marketplace.appcelerator.com/apps/5728

    — answered June 1st 2013 by Trevor Fifield
    permalink
    1 Comment
    • The module is still available https://marketplace.appcelerator.com/apps/5762.

      Alternatively you can search on the Marketplace for "Android Audio Streamer".

      — commented February 23rd 2015 by Trevor Fifield
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.