Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

netstream

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Listener Clients
View previous topic :: View next topic  
Author Message
dl



Joined: 28 May 2009
Posts: 7

PostPosted: Fri Nov 05, 2010 9:59 am    Post subject: netstream Reply with quote

Anybody plese like to post a working example how to use netstream ?

I tried it like this, but the stream is not found :
Code:


public function doit ():void
         {
            // Initialize net stream
            nc = new NetConnection();
            nc.connect (null);
            ns = new NetStream(nc);
            
            client = new Object();
            ns.client = client;
            client.onMetaData = onMetaData_handler;
            client.onCuePoint = onCuePoint_handler
            
            
            ns.play ( 'http://<myurl>:8000/stream?type=.flv' );
         }

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Listener Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber