Android 10/11 with Azure Speech - Workaround to record audio (Voice call) & pass chunks or stream audio (Voice call) to Azure Speech service

Jyotsna Ravi 51 Reputation points Microsoft Employee
2022-03-09T10:37:54.85+00:00

Android 10/11 requires specific permission for recording audio. Require help in recording the voice call or streaming the voice call in real time to Azure speech SDK. This was successfully implemented with Android 8.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,516 questions
Azure ISV (Independent Software Vendors) and Startups
Azure ISV (Independent Software Vendors) and Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.ISV (Independent Software Vendors) and Startups: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
91 questions
{count} votes

Accepted answer
  1. GiftA-MSFT 11,161 Reputation points
    2022-03-09T22:34:25.413+00:00

    Hi, thanks for your feedback. You are correct, my previous response was about recognizing from microphone. The following document shows how to recognize from file. Instead of calling fromDefaultMicrophoneInput(), you call fromWavFileInput() and pass the file path. For your scenario, you'd want to consider using continuous recognition. I'm not aware of any limitations when using android 10/11 with speech sdk. If your question is specific to android 10/11 and recording audio, then maybe consider using 'dotnet-android' forum tag on this platform or post a question on android community forum for the community experts to review.


0 additional answers

Sort by: Most helpful