flutter_sound icon indicating copy to clipboard operation
flutter_sound copied to clipboard

[BUG]: onProgress android returning same value after seeking

Open duraibabu-14 opened this issue 1 year ago • 14 comments

Flutter Sound Version : 9.12.0

  • FULL or LITE flavor ?

  • Important: Result of the command : flutter pub deps | grep flutter_sound


Severity

  • Result is not what expected

Platforms you faced the error

  • Android

Describe the bug Lets say an audio is 4 mins Start the Player and seek to 40 secs it will seek to that Position Seek Again to 20 sec The Audio Will seek but the position in onprogess is still 40 until the actual 40 sec is crossed then it will update to 41. It Happens Only in Android. Have to Fix This ASAP.

To Reproduce Steps to reproduce the behavior:

  1. Play the Audio
  2. Seek to Some Position
  3. Seek Again to rest
  4. The onProgess Returns the last Seek Position it wont reset

Logs!!!!

The Log Just Keeps On Going

I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── elMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21) I/flutter ( 1203): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter ( 1203): │ 🐛 [android]: Position is decreasing on FlautoPlayer::setTimer::TimerTask I/flutter ( 1203): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter ( 1203): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:347:13) I/flutter ( 1203): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:123:21)


duraibabu-14 avatar Sep 06 '24 10:09 duraibabu-14

I was about to open this issue. have been facing it as well.

Some more observations. my logs look exactly like the OP @duraibabu posted

when seeking forward the onProgress stream seems to be stuck on reporting the previous position for ~2 seconds and then the stream gets updates for the actual current timestamp of the player . update Duration set to 200 milliseconds

when seeking back the stream is stuck to the previous position until the player plays upto the previous position and then starts updating

This seems to be an existing issue tried downgrading till 8.0.1 from the latest trying each version. The issue persists in all.

Rohan-raftlabs avatar Sep 06 '24 12:09 Rohan-raftlabs

Yes, there is a bad bug here. I know the reason. It should be simple to fix it. If I get some available time I will fix it. Sorry for that.

Larpoux avatar Sep 06 '24 16:09 Larpoux

Hi, I Recenly

Yes, there is a bad bug here. I know the reason. It should be simple to fix it. If I get some available time I will fix it. Sorry for that.

flutter_sound 9.12.41 Sure, I've updated latest version but its getting build error package xyz.canardoux.TauEngine.Flauto does not exist

duraibabu-14 avatar Sep 09 '24 05:09 duraibabu-14

is this issue resolved in the newer versions ?

Rohan-raftlabs avatar Sep 09 '24 05:09 Rohan-raftlabs

Yes. This bug is supposed to be fixed. But I must check that: I had many problems to generate a working Flutter Sound version and I am not yet sure that those problems are resolved.

Larpoux avatar Sep 09 '24 05:09 Larpoux

Yes. This bug is supposed to be fixed. But I must check that: I had many problems to generate a working Flutter Sound version and I am not yet sure that those problems are resolved.

When Can we expect the working flutter sound version?

duraibabu-14 avatar Sep 09 '24 05:09 duraibabu-14

I just checked and it's not yet working 👎 . I am fighting with Gradle/Java/Jitpack. This is a nightmare.

Larpoux avatar Sep 09 '24 05:09 Larpoux

I just checked and it's not yet working 👎 . I am fighting with Gradle/Java/Jitpack. This is a nightmare.

I can help if you need

duraibabu-14 avatar Sep 09 '24 05:09 duraibabu-14

This is kind from you. Thank you very much for your help. Actually, it is the publishing on Jitpack which has problems : https://jitpack.io/com/github/canardoux/flutter_sound_core/9.12.41/build.log. It seems that there is is a problem with the Java version. I just wake up, and I must have a coffee and a cigarette. Then I will work again on this terrible issue.

Larpoux avatar Sep 09 '24 06:09 Larpoux

This is kind from you. Thank you very much for your help. Actually, it is the publishing on Jitpack which has problems : https://jitpack.io/com/github/canardoux/flutter_sound_core/9.12.41/build.log. It seems that there is is a problem with the Java version. I just wake up, and I must have a coffee and a cigarette. Then I will work again on this terrible issue.

Alright. Once you finish it. Let us Know.

duraibabu-14 avatar Sep 09 '24 06:09 duraibabu-14

I did a temporary turn-around to unblock Flutter Sound users. I am going to work on this mess without bothering the FS users. Because of that, the issue with the position after a seek is not yet solved.

9.12.44

  • Trying to update gradle (8.10) and Java (22.0) to recent versions. No Succes : keep temporarly the 9.12.0 flutter_sound_core for Android

Larpoux avatar Sep 09 '24 08:09 Larpoux

@Larpoux I got same issue with v9.2.13. After upgrading to v9.15.61, it works but sometimes it does not works.

Player is playing but it's stuck at 32s. image

nvngoc2409 avatar Sep 16 '24 03:09 nvngoc2409

OK. I know why it works sometimes, and sometimes not. I was not completely sure of my fix, but it seemed to work correctly during my tests. I will try to fix this issue better.

Larpoux avatar Sep 16 '24 04:09 Larpoux

Flutter Sound 9.16.2 is released.

9.16.2

  • Remove the patch 9.4.18 that tried to fix #1040. This patch did not work correctly ((#1087)) and was worst than the issue itself.

Larpoux avatar Sep 28 '24 09:09 Larpoux