@Muhammad Usman - Thanks for the question and using MS Q&A platform.
Unfortunately, it's not possible to ingest audio data directly for real-time processing using Azure Event Hubs.
Azure Event Hubs is a cloud native data streaming service that can stream millions of events per second, with low latency, from any source to any destination. Event Hubs is compatible with Apache Kafka, and it enables you to run existing Kafka workloads without any code changes.
For real-time audio processing, you may want to consider using Azure Cognitive Services, specifically the Speech Services API. The Speech Services API provides speech-to-text transcription, speaker recognition, and other audio processing capabilities that can be used to analyze audio data in real-time.
To use the Speech Services API, you can send audio data to the API using a REST API or a client library. The API supports a variety of audio formats, including WAV, MP3, and FLAC. You can also use Azure Blob Storage or Azure Data Lake Storage to store your audio data and then use Azure Functions or Azure Logic Apps to trigger the Speech Services API for real-time processing.
You may want to consider using Azure Cognitive Services or Azure Stream Analytics to process your audio data in real-time.
For more details, refer to Audio processing - Speech service - Azure AI services
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.