Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
ritpas #1
viewing live video from webcam with FMS
Hi, I wrote the following code to view a live streaming from my webcam with
FMS installed and started : import flash.media.Camera; import
fl.video.VideoPlayer; ////////////////////////////////////////////////////////
var the_cam:Camera = Camera.getCamera(); var the_nc = new NetConnection();
the_nc.connect('rtmp://localhost/webcam');
the_nc.addEventListener(flash.events.NetStatusEven t.NET_STATUS,onConnection);
function onConnection(evt : flash.events.NetStatusEvent) {
trace(evt.info.code+' '+the_cam.name); //on créé un objet NetStream qui
publis la video en 'live' sans l'enregistrer sur le serveur var in_ns = new
NetStream(the_nc); in_ns.attachCamera(the_cam); //on publie et on nomme notre
video (laVideo) in_ns.publish('laVideo','live'); ///////////////////////////
//on créé un autre objet pour diffuser la video var out_ns = new
NetStream(the_nc); //on la joue out_ns.play('laVideo'); var
Live_vc:Video=new Video(); this.addChild(Live_vc);
Live_vc.attachNetStream(out_ns); } The connecyion to server is done but I get
a blank screen. Why? Thanks, pascal
ritpas Guest
-
Broadcast Live Webcam to public website
I am looking for some support information on setting up a webcam for my restaurant. I have Flash Media Encoder working fine on the local machine... -
Live data feed within live flash video?
Is there a way to encode some live data, say from a serial port into a live video stream? Windows media has such a feature within the script window. -
Detecting if a live webcam is actually streaming
I built a live webcam broadcaster and receiver using my Flashcom server and... -
Live webcam stream with FMS!
I've been trying to stream my webcam so i can view it on my website. I'am using Flash Media Server and I have created both my broadcaster... -
FMS Newby - Live webcam
Hello everybody, I'm newby in Flash Media Server, so understand mi ignorance, please. I need to do an aplication with two parts: 1. Live...



Reply With Quote

