muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.46k stars 1.75k forks source link

createScriptProcessor is deprecated #811

Open omarelb opened 2 years ago

omarelb commented 2 years ago

Hi there! When starting recording with the library, the following is message is always displayed: The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead. I think it is caused by the following line:

https://github.com/muaz-khan/RecordRTC/blob/7b1c360f27c7ae34047137bb2356e39b6f93374f/RecordRTC.js#L2951

Are there any plans to migrate to AudioWorkletNode?

Thank you!

matthewjosephtaylor commented 4 months ago

This bug is a year and a half old. Are there any updates on possible resolutions?

iiscosd3 commented 2 months ago

Due to async processing in AudioWorklet, its also going to cause issues with passing the streams down to the os handlers and for example in the recordrtc extension its going to cause the tab that's being recorded remaining silent for the end user, but not for the extension, so it becomes absolutely pointless. It would be just easier using webrtc-internals and enabling audio dumps for such cases, at least you would've gotten the raw wav files of each tab during the recording.