Open sb111111111 opened 1 year ago
When trying to retrieve the total duration of audio file it is returning 00:00:00
Duration of the audio file to be returned
var mediaItem = await CrossMediaManager.Current.Play(audioFile); var duration = mediaItem.Duration; await DisplayAlert("info", duration.ToString(), "OK");
Version: 1.1.1
Platform: Xamarin.Forms
did you find how to solve this error?
I'm seeing this same issue on iOS only - Android works as expected returning the duration value.
🐛 Bug Report
When trying to retrieve the total duration of audio file it is returning 00:00:00
Expected behaviour
Duration of the audio file to be returned
Reproduction steps
Configuration
Version: 1.1.1
Platform: Xamarin.Forms