Recorderjs icon indicating copy to clipboard operation
Recorderjs copied to clipboard

The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead

Open emresaracoglu opened this issue 4 years ago • 4 comments

Hello,

There is a sound recorder and a recorded sound player on the site. It's fine with Firefox, but I get the following warning in Chronium-based browsers.

I also asked this question as a question on Stack overflow. Can you help with this issue?

Thank you

emresaracoglu avatar Dec 26 '21 11:12 emresaracoglu

@emresaracoglu I am in the same boat as you. Did you even come up with a resolution to this?

RyanG2016 avatar Jun 01 '22 04:06 RyanG2016

Unfortunately, I couldn't find a solution. After a few days, I gave up and quit. @RyanG2016

emresaracoglu avatar Jun 01 '22 05:06 emresaracoglu

@emresaracoglu Thanks for the reply.

RyanG2016 avatar Jun 01 '22 19:06 RyanG2016

You don't have to worry too much about Chrome's reminder, ScriptProcessor currently supports the best among all browsers. On the contrary, the performance of AudioWorklet is not very outstanding, as it generates 375 callbacks per second. It is not recommended to use AudioWorklet on mobile devices.

AudioWorklet Test: https://xiangyuecn.gitee.io/recorder/ ,there is an option to enable AudioWorklet at the bottom of the page

大家可以不用太在意Chrome的这个提醒,ScriptProcessor目前所有浏览器支持的最好。反倒是AudioWorklet的表现不怎么出色,它会产生每秒375次回调,不太建议在移动设备使用AudioWorklet

2023-06-18

xiangyuecn avatar Jun 18 '23 08:06 xiangyuecn