start_video_record
start_video_record($path,$fps=10,$quality=70,$x=-1,$y=-1,$width=-1,$height=-1,$as_gray=false); - start recording the video of the browser in the specified rectangle. if the rectangle is not set, the recording is performed in the visible browser window. Recording is performed until the stop_video_record command is received (available from version 7.0.38)
the input Function accepts parameters:
$path – the path on which the video will be recorded (relative or absolute)
$fps – FPS - frame rate per second
$quality – JPEG quality - frame quality - can take values from 1 to 100
$x – X coordinate of the video recording rectangle
$y – Y coordinate of the video recording rectangle
$width – width of the video recording rectangle
$height – height of the video recording rectangle
$as_gray – record black and white video to save space (True)
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed