cordova-plugin-audioinput
cordova-plugin-audioinput copied to clipboard
There is a noise when playing on iOS after upgrade audioinput to 1.0.2. Works well on Android.
There is a noise when playing on iOS after upgrade audioinput to 1.0.2. Works well on Android. Because 1.0.2 normalize to typed array.
What kind of noise is that ?
I noticed that i had some crackling noise on the microphone stream when the lightning cable was plugged-in the iphone. I shot a video for you, tell me if this is a similar noise.
Thanks for the video! Hmm, I haven't experienced that type of issue with the captured sound. Anyone else having this issue?
Ok, I was a bit to fast to accept a PR which resulted in 1.0.2 and which includes the typed array stuff. So using 1.0.1 instead should work on iOS?
Have you seen issue https://github.com/edimuj/cordova-plugin-audioinput/issues/100 ?
Have you seen issue #100 ?
It's fixed by remove the code added by 'Add support for typed arrays with audio data'. See https://github.com/edimuj/cordova-plugin-audioinput/commit/e7b9703c2cedb1fe6580704e29003a6105119937#diff-fb1aa34c5c08ae27df513638cb93666f
So can you add an option to toggle the feature 'Add support for typed arrays with audio data'. Default to enable it and i can upgrade to the latest version and disable this option in my project.
Thanks for the video! Hmm, I haven't experienced that type of issue with the captured sound. Anyone else having this issue?
Ok, I was a bit to fast to accept a PR which resulted in 1.0.2 and which includes the typed array stuff. So using 1.0.1 instead should work on iOS?
Yes, it's work well on iOS with 1.0.1.
Thanks for checking 1.0.1 on iOS @wangzhengbo !
Will try to dig into this in the coming weeks. I agree, making the typed arrays optional would take away a lot of headache.
Just a note: I also had noise with v1.0.2 recording in iOS but it disappeared as soon as I switched channels from STEREO to MONO in recording configuration. STEREO works well on Android only, MONO works in both Android and iOS.