An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
Hello @Rakesh Indla , I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
Issue: To implement Real-time diarization with default microphone as input using JavaScript
Solution: Yes, this is possible. Add this piece of code to use microphone. Here is the code for reference: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/get-started-stt-diarization?tabs=macos&pivots=programming-language-javascript
var audioConfig = SpeechSDK.AudioConfig.fromDefaultMicrophoneInput();
Also check for the SDK installation guide for required version. https://learn.microsoft.com/en-us/azure/ai-services/speech-service/quickstarts/setup-platform?pivots=programming-language-javascript
In this case after SDK update it worked successfully.
Thank you again for your time and patience throughout this issue.
Regards,
Vasavi
--Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.