We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The audioplayers plugin for Android has an issue related to audio seeking precision seek method doesn't work precisely
it should seek to correct precise position for example : 231420 milliseconds but the audio starts before that
flutter run
Future _playAudio() async { try { await _audioPlayer.seek(const Duration(milliseconds: 293820)); await _audioPlayer.play(); setState(() { _isPlaying = true; }); } catch (e) { print('Failed to play audio: $e'); } }
Android
No response
audioplayers: ^6.0.0
debug
https://download.quranicaudio.com/qdc/abdurrahmaan_as_sudais/murattal/2.mp3
my relevant logs
my full logs or a link to a gist
Flutter doctor:
Output of: flutter doctor -v
no way
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist
Current bug behaviour
The audioplayers plugin for Android has an issue related to audio seeking precision
seek method doesn't work precisely
Expected behaviour
it should seek to correct precise position for example :
231420 milliseconds
but the audio starts before that
Steps to reproduce
flutter run
on the code sampleCode sample
Future _playAudio() async {
try {
await _audioPlayer.seek(const Duration(milliseconds: 293820));
await _audioPlayer.play();
setState(() {
_isPlaying = true;
});
} catch (e) {
print('Failed to play audio: $e');
}
}
Affected platforms
Android
Platform details
No response
AudioPlayers Version
audioplayers: ^6.0.0
Build mode
debug
Audio Files/URLs/Sources
https://download.quranicaudio.com/qdc/abdurrahmaan_as_sudais/murattal/2.mp3
Screenshots
No response
Logs
Full Logs
Flutter doctor:
Related issues / more information
No response
Working on PR
no way
The text was updated successfully, but these errors were encountered: