I am working on an interactive real time communication that uses both speech synthesizer and recognizer. In development it is working fine but when I deployed through azure web app in a Linux server it was giving the error. I don't want to process any audio here neither "output.wav". Is there any way I can configure the speech service SDK to use the user microphone on the browser to take audio input for real time recognition.
RuntimeError: Exception with error code: [CALL STACK BEGIN]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0xdfb2d) [0x7dd6312f7b2d]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x18d400) [0x7dd6313a5400]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0xa5d6c) [0x7dd6312bdd6c]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x18b4fb) [0x7dd6313a34fb]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0xdd761) [0x7dd6312f5761]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0xe0db7) [0x7dd6312f8db7]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x145ac7) [0x7dd63135dac7]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x145ac7) [0x7dd63135dac7]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x100f7d) [0x7dd631318f7d]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x13d180) [0x7dd631355180]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x983d3) [0x7dd6312b03d3]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x13b5d3) [0x7dd6313535d3]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x90cc9) [0x7dd6312a8cc9]/home/adminuser/venv/lib/python3.12/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(recognizer_create_speech_recognizer_from_config+0x114) [0x7dd6313ed734]/usr/lib/x86_64-linux-gnu/libffi.so.7(+0x6d1d) [0x7dd638260d1d]/usr/lib/x86_64-linux-gnu/libffi.so.7(+0x6289) [0x7dd638260289]/usr/local/lib/python3.12/lib-dynload/_ctypes.cpython-312-x86_64-linux-gnu.so(+0x12ffb) [0x7dd63827dffb][CALL STACK END]Exception with an error code: 0x38 (SPXERR_AUDIO_SYS_LIBRARY_NOT_FOUND)