I implemented sr_freecap extension in form. All works fine except the audio output. Audio works in Safari browser but not in Firefox or Chrome. In Chrome i get the following error in the console:
Uncaught (in promise) DOMException: Failed to load because no supported source was found.
[EDIT]
I made a few more attempts and found that only the first call does result in this error. Let me try to explain it more accurate:
I analyzed the network traffic for the first click (error) and the click after refreshing the captcha (no error). There is only one difference: the result header Content-Length for the first click is 0. So it seems that the audio file of the first click is simply empty.
In Safari every click results in a valid audio file.
Any idea what is wrong here? Thanks!
It seems to be an issue of a self sign certificate. After moving the whole Site to a server with a valid certificate the audio captcha runs in Chrome and Firefox too.