Open stelazh opened 7 years ago
Utils.GetHomeFolder
- you can write your own method that returns the full path to the home directory.
GetTextFromAudioAsync
- your function doesn't take a string, it takes a stream. It should take a string (path and filename).
I cannot use this sample ..i have problem in : //Convert MP4 to WAV var wavFolder = Utils.GetHomeFolder() + WebConfigurationManager.AppSettings["WAVFilesFolder"]; var converter = new AudioFileFormatConverter(mp4, wavFolder); var wav = converter.ConvertMP4ToWAV();
Utils.GetHomeFolder don't exist in current context
For bing.GetTextFromAudioAsync(wav) i got this message : cannot convert from 'string' to 'System.IO.Stream'