I want to play a live feed from the flash media server in flex. I have
another camera that is connected and uploading the video feed to FMS.
I am unable to find a solution for Flex to play that stream. The
following is what I would do in flash. Your assistance would be
greatly appreciated! 

-- Wade


import mx.utils.Delegate;


System.security.allowDomain('10.3.0.141');
 var _camera_vid:Video;
 var _nc:NetConnection;
 var _ns:NetStream;
                
        
        
function setupNetConnection(uri:String):Void {
        _nc = new NetConnection();
        _nc.connect(uri);
        _ns = new NetStream(_nc);
        _camera_vid.attachVideo(_ns);
        _ns.play("camera");
}


setupNetConnection("rtmp:/10.3.0.161/cam1");








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to