Fixed: Webcam bugs when PHP Version lower than 5.4