You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On Android with echoCancel enabled, the currently playing audio is still packed up in the recording stream, when it should not. This works on iOS, but not Android even though the pub.dev listing says it does work on Android. Here is the RecordConfig:
final stream =await _recorder.startStream(
RecordConfig(
encoder:AudioEncoder.pcm16bits,
echoCancel:true,
),
);
Expected behavior
With echoCancel enabled, the currently playing audio should not be picked up in the recording stream.
Additional context
My use case is a voip app, the user needs to be able to hear the other person's audio, but the other person should not hear their own audio.
The text was updated successfully, but these errors were encountered:
Without using using echoCancel on the Flutter side, I tried changing the AudioSource on the Android side from DEFAULT to VOICE_COMMUNICATION and it does seem to successfully enable echo cancelation:
Package version
5.1.1
Environment
Describe the bug
On Android with
echoCancel
enabled, the currently playing audio is still packed up in the recording stream, when it should not. This works on iOS, but not Android even though thepub.dev
listing says it does work on Android. Here is theRecordConfig
:Expected behavior
With
echoCancel
enabled, the currently playing audio should not be picked up in the recording stream.Additional context
My use case is a voip app, the user needs to be able to hear the other person's audio, but the other person should not hear their own audio.
The text was updated successfully, but these errors were encountered: