Titanium Community Questions & Answer Archive

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

aacp radio stream

Does titanium appcelerator support aacp radio stream? If yes then any one tell me what should i write for it? I tried using this but not success,

var s = "http://in.ast.com/nt-live-64";

   var sound =Ti.Media.createAudioPlayer({url:s,preload:true,audioFormat:AUDIO_FORMAT_AAC,allowBackground:true});


    sound.start();
— asked October 13th 2010 by utpal kishen
  • aac
  • aacp
  • iphone
  • live_stream
  • radio
  • streaming
0 Comments

3 Answers

  • 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
    2 Comments
    • it is not longer availabel

      — commented February 18th 2015 by Rainer Schleevoigt
    • The module is still available https://marketplace.appcelerator.com/apps/5762.

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

      For some reason the the app ID in the URL changed from 5728 to 5762.

      — commented February 23rd 2015 by Trevor Fifield
  • I'd like to know more about AAC+ as well. It looks like android supports it here: http://developer.android.com/guide/appendix/media-formats.html

    — answered December 2nd 2010 by Anthony Webb
    permalink
    0 Comments
  • any update?

    — answered July 29th 2011 by vincent youmans
    permalink
    0 Comments
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.