I am downloading files to the local storage in my Xamarin Forms
application. I am using CrossMediaManager to play those stored local mp3 files. The problem is the player doesn't start playing audio from certain position. It always starts playing form zero.
I am using below code but didn't help. I have also tried to queue media files and play them but didn't help.
if (Helper.FileExists(filePath))
{
var position = TimeSpan.FromSeconds(AyasAudios[AyaNumber].StartingPoint);
Debug.WriteLine("starting point: " + AyasAudios[AyaNumber].StartingPoint + " position: " + position);
await CrossMediaManager.Current.Play(new FileInfo(filePath));
await CrossMediaManager.Current.SeekTo(position);
}