Covert video file to audio file in Xamarin Forms
问题 I am trying to create an app that allows a user to download the audio of youtube videos in Xamarin.Forms. I can download the video using 'VideoLibrary' and convert it to an mp3 using 'MediaToolkit' in a C# Console Application without any errors. static void DownloadAudio(string videoUrl, string saveDir) { YouTube youtube = YouTube.Default; Video vid = youtube.GetVideo(videoUrl); File.WriteAllBytes(saveDir + vid.FullName, vid.GetBytes()); string originalFile = saveDir + vid.FullName; var