php - must i have FMS to publish a stream from my camera? -


i building live streaming website , use 1- fms 2- apache webserver

i have made subcriber , works . need build publisher allow users broadcast thier stream thier cameras.

i have tested publisher build using actionscript , didn't work untill have installed fms on localhost , need publisher user can use in web browser .

my publisher :

   protected function application1_creationcompletehandler(event:flexevent):void          {              connection = new netconnection();              connection.connect("rtmp:/live");              connection.addeventlistener(netstatusevent.net_status,onconnected);           }     private function setupvideo():void          {              //setting outgoing devices              camera = camera.getcamera();              camera.setmode(640,480,30);              mic = microphone.getmicrophone();               //setting outgoing stream              outstream = new netstream(connection);              outstream.attachcamera(camera);              outstream.attachaudio(mic);              outstream.publish("eramax-live");               //setting outgoing video & attach outgoing devices              outvideo = new video();              outvideo.attachcamera(camera);               //setting incomming stream              instream = new netstream(connection);              instream.play("eramax-live");               //setting incomming video & attach incoming stream              invideo = new video();              invideo.attachnetstream(instream);               //wrap video object              outvideowrapper = new uicomponent();              outvideowrapper.addchild(outvideo);              addelement(outvideowrapper);               invideowrapper = new uicomponent();              invideowrapper.addchild(invideo);              addelement(invideowrapper);              invideowrapper.move(400,0);              //setting incomming video           }  

so question must have fms publish stream camera website ?

if want stream live video, need streaming server. not fms, can use red5, wowza, or open source solutions such rtmpd or rtmplite.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -