Unable to record audio in Azure VM when user logs out

Bharatee, Raktim 0 Reputation points
2023-08-24T11:20:13.9266667+00:00

We have an Azure VM instance which is utilizing the Azure Speech to Text service. When I am logged-in to the VM I am able to run my python script which records a audio from a website(Captcha shown below) and then makes an API call to Speech to Text service and this works perfectly. But when I log out of the VM, python script is unable to record the audio for some reason. We have confirmed that the VM is able to connect to the internet because we are able to open the website. But after that it throws an error saying unable to record audio. Do we need to install some drivers or any form of configuration that needs to be done?

Would appreciate your help!captcha

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
2,069 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,041 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.