Hi there,
We have a Flash application doing camera capture and streaming it over RTMP to an AMS. Things work brilliantly for most USB webcams, however as soon as our users use a built-in cheap webcam (say Lenovo) the FPS drops to 7-8fps.
We try to rule out as many external factors as possible and ended up with a simple loopback test. With our USB camera we can get 30fps loopback without any problem. But when switching to the built-in camera it drops to 7fps.
So then we try a simple self view (so no server side and no network traffic) with basically the following code:
_camera = Camera.getCamera();
_camera.setQuality(90000, 0); // prefer fps over quality
_camera.setMode(640, 480, 39, false); // favorArea=false to prefer fps here too
var localCame:Video = new Video();
localCam.attachCamera(_camera);
videoDisplay.addChild(localCam);
Here again the USB cam gets us a 30fps while the built-in gives us 13pfs (a little bit better...).
So it looks this is something related to the client side, it happens on both Windows and OSX (OSX built-in camera gives us a little better fps though ~20fps).
We tried different capture tools and they were all able to give us a 30fps with all cameras.
We also tried to change capture resolutions to make sure we were using a resolution natively supported by the camera but same same...
Has anyone experienced the same issue before?
Thanks in advance,
Nico