-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
echoCancel doesn't work on Samsung devices #418
Comments
Effects may or may not be available on the device as I do not implement these algorithms myself. You can already use |
I have upgraded, but this bug always ocurred. |
@gaochang1993 do you found any solution ? |
No, I had tried to set AudioManager.mode=MODE_COMMUNICATION, but it didn't work. It seems we need to implement the echo cancellation algorithm ourselves or seek official help from Samsung. |
Package version
5.1.2
Environment
Describe the bug
On samsung device with echoCancel enabled, the currently playing audio is still packed up in the recording stream. It does not work on Samsung phones, but works on other brands of Android phones and ios devices. Here is the RecordConfig:
_audioRecorder.startStream(const RecordConfig( sampleRate: 24000, numChannels: 1, bitRate: 24000, echoCancel: true, noiseSuppress: true, encoder: AudioEncoder.pcm16bits, )
And I found the same issue373,fixed in record_android version 1.2.6. But the record_android version that record 5.1.2 depends on is 1.2.3. So I add
dependency_overrides: record_android: 1.2.6
to my pubsec.yaml,but it seems not work. What can I do to fix it.The text was updated successfully, but these errors were encountered: