Posts tagged chatroom
Flash Player 11 h.264 Encoder
1Here is a basic application to test and compare the recently added h.264 encoder for the Flash Player 11, just type in your FMS/RED5/WOWZA server URL and test the video quality.
(it works only if you have flash player 11 installed)
Initializing Camera (AS3)
0This is how you get the camera using ActionScript 3.0, very useful for your Webcam/FMS related projects
[code]
package {
import flash.media.Camera;
import flash.media.Video;
public class createCamera extends Video {
private var camera:Camera;
private var camQ:int = 0;
private var FPS:int = 30;
public function createCamera (w:Number = 320, h:Number = 240)
{
this.width = w;
this.height = h;
startCamera();
}
public function startCamera():void
{
camera = Camera.getCamera();
camera.setQuality(0, camQ);
camera.setMode(this.width, this.height, FPS);
this.attachCamera(camera);
}
}
}
[/code]


