recognize_audio_captcha
recognize_audio_captcha($filename,$type); - recognize a captcha from an audio file (mp3). For more information, see here (Audio Recaptcha v2 + Audio SolveMedia) (Available from version 4.10.7)
It uses the following object fields :$this->api_key - API key
The function accepts parameters as input:
$filename – path to the audio captcha file (mp3 format)$type – type of audio captcha (0 - Audio Recaptcha v2 , 1 - Audio SolveMedia)
After testing, the function returns the result of its work to the script :
The result of recognition is a captcha string or a code string with an error response:
ERROR_KEY_DOES_NOT_EXIST - you used an invalid captcha key in the requestERROR_WRONG_ID_FORMAT - invalid captcha ID, only numbers are acceptedERROR_CAPTCHA_UNSOLVABLE - captcha could not be solved by 5 different employees