WeBAD icon indicating copy to clipboard operation
WeBAD copied to clipboard

the webpage stop working

Open vernetit opened this issue 3 years ago • 1 comments

I did an app with webad, work great but suddenly the webpage stop working and then i have to reopen (in less than one minute). The same thing is happening with hark.js . i dont know what is happening. Is this normal in the new versions of chrome?

vernetit avatar Feb 11 '22 13:02 vernetit

Hi Roberto, I didn't experienced a full "stop working" of the page, but, at times (1 year ago when I developed the code), I experienced a lot of minor issues using Chrome, whereas I was fully successful on Firefox. See also https://github.com/solyarisoftware/WeBAD#browser-issues-when-using-the-demo-web-audio-apis

if you go in the console, do you see any error?

BTW, the polling strategy Is maybe not the best implementation and the behviour is cpu-bound for sure, Maybe you can tune the SAMPLE_POLLING_MSECS parameter, see https://github.com/solyarisoftware/WeBAD#parameters-tuning.

I hope this helps giorgio

solyarisoftware avatar Feb 11 '22 14:02 solyarisoftware