Have you checked out the video display component?

 


From: [email protected] [mailto:[email protected]] On Behalf Of eccentricwade
Sent: Sunday, October 08, 2006 8:30 PM
To: [email protected]
Subject: [flexcoders] Can Flex play rtmp camera video?

 

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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to