Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (ogg)
Viewing all articles
Browse latest Browse all 2

Streaming error

$
0
0

Hi All

I have setup a streaming server using icecast it is streaming in ogg format.

listener_peak   0
listeners   0
listenurl   http://216.70.57.74:8000/listeners
server_name Traktor Broadcast
server_type application/ogg
server_url  stream
slow_listeners  0
I have a simple code setup.
var win1 = Titanium.UI.createWindow({
    title : 'Tab 1',
    backgroundColor : '#fff'
});
 
var streamer = Ti.Media.createAudioPlayer();
streamer.url = "http://216.70.57.74:8000/listeners";
 
var play = Titanium.UI.createButton({
    title: 'Play Stream',
    background : 'black',
    height : 21,
});
win1.add(play);
play.addEventListener('click', function() {
    streamer.start();
});
win1.open();
But every time i run this code on the device i get the error.

"Unable to configure network read stream"

Can someone explain why this may be happening.

Thanks


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images