An Azure service that integrates speech processing into apps and services.
Hello Ricardo Santos,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that your AEC is not working with Java Embedded Speech Recognizer.
Yes, AEC should be working via MAS in the Speech SDK, but it is not guaranteed in every language binding or platform. Because, in Java embedded scenarios, it’s common for MAS or the reference loopback channel to be unavailable, leading to AEC silently not working.
Do the following to resolve the issue:
- Enable SDK FileLogger and run your app; save
speech_sdk.log. - https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-use-logging - Inspect the
client-sdk-embedded-1.46.0.jarforMASmodels. If not found, change Gradle dependency (remove@jar) or download the SDK distribution and copy theruntimesfolder. - https://central.sonatype.com/artifact/com.microsoft.cognitiveservices.speech/client-sdk-embedded - If logs show
aec_v1.fpie(or other model file missing) copyMASmodelsintoruntimes/<os>/native/or ensure the distribution is included beside your app. - If MAS loads (logs show MAS models found) but echo persists test with a WAV file containing reference channel (isolates device/driver), and check the device playback/capture routing. -https://learn.microsoft.com/en-us/azure/ai-services/speech-service/audio-processing-speech-sdk
Use the associated links for more steps and details.
I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.