
Explanation:
GetCompressedFormat
https://docs.microsoft.com/en-
us/dotnet/api/microsoft.cognitiveservices.speech.audio.audiostreamformat.getcompressedformat
?view=azure-dotnet
SpeechRecognizer
https://docs.microsoft.com/en-
us/dotnet/api/microsoft.cognitiveservices.speech.speechrecognizer.-ctor?view=azure- dotnet#Microsoft_CognitiveServices_Speech_SpeechRecognizer__ctor_Microsoft_CognitiveServ ices_Speech_SpeechConfig_Microsoft_CognitiveServices_Speech_Audio_AudioConfig_