Unable to record audio in Azure VM when user logs out
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!