Hi there

I have the following piece of Flex 3 code:

                camera = Camera.getCamera();
                microphone = Microphone.getMicrophone();
                var stream:NetStream = new NetStream(av5.netConnection);
                stream.attachCamera(camera);
                stream.attachAudio(microphone);
                var vid:Video = new Video();
                vid.attachCamera(camera);
               
               
                var vidpsrite:Sprite = new Sprite();           
                vidpsrite.addChild(vid);
                var wrp:UIComponent = new UIComponent();
                wrp.addChild(vidpsrite);
                wrp.setActualSize(vid.width,vid.height);
                vidc.addChild(wrp);
                stream.publish("red5StreamDemo","live");

The problem is that I do not see any stream being published.

If I publish using the simpleBroadcaster, it works perfectly.

Any pointers ?


Thanx

Thys de Wet


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to