How to play shoutcast streams android

You must Login before you can answer or comment on any questions.

Hi im trying to play a shoutcast stream using this:

var urlStreaming1 = "http://shoutcasturl:8026";
 
streamer = Ti.Media.createAudioPlayer({
            url : urlStreaming[e.source.id],
            preload : true,
            allowBackground : true
        });
but i get no sound using latest titanium studio version plus android api 4.0

— asked 8 months ago by Alexis Gaitan
15 Comments
  • Missing from your question are a number of important pieces of information. I suggest you take a look at the Using Questions and Answers article, specifically the Q&A Question Checklist. The missing information is critical to reproducing problems in a test environment and often indicates other factors that cause the undesirable outcome you are experiencing.

    — commented 8 months ago by Stephen Feather

  • thanks very much and sorry :)

    — commented 8 months ago by Alexis Gaitan

  • whats the format of the stream?

    ie: Codec? Container?

    — commented 8 months ago by Stephen Feather

  • Show 12 more comments

2 Answers

Application type: mobile Titanium SDK: Titanium SDK version: 2.1.2 (08/24/12 14:46 ed7f777)

Platform & version: Android 4.1 google api

Device: Android emulator

Host Operating System: OSX 10.8.2 mountain lion

Titanium Studio: Titanium Studio, build: 2.1.2.201208301612

im just getting this when click on start button of my player:

[INFO][AwesomePlayer(   39)] setDataSource_l('http://ip:8026')
[INFO][ChromiumHTTPDataSource(   39)] connect to http://ip:8026 @0
[INFO][qtaguid (   39)] Tagging socket 29 with tag 3f500000000(1013) for uid 10048 failed errno=-2

Your Answer

Think you can help? Login to answer this question!