Camera Stream in Flash Problem

Posted by Peter on Stack Overflow See other posts from Stack Overflow or by Peter
Published on 2010-12-30T05:50:04Z Indexed on 2011/01/02 20:54 UTC
Read the original article Hit count: 195

Filed under:
|
|
|
|

Please help me fill the question marks. I want to get a feed from my camera and to pass it to the receive function. Also in flash builder(in design mode) how do I put elements so they can play a camera feed?? Because as it seems VideoDisplay just doesn't work

public function receive(???:???):void{
//othercam is a graphic element(VideoDisplay)   
othercam.??? = ????;

}

private function send():void{

var mycam:Camera = Camera.getCamera();
//mycam2.attachCamera(mycam);
//sendstr is a stream we send           
sendstr.attachCamera(mycam);
//we pass mycam into receive
sendstr.send("receive",mycam);
}

© Stack Overflow or respective owner

Related posts about flex

Related posts about flash