Skip to content
New issue

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 currentTime still counting after the audio reaches to end #112

Open
mahmoudOmara opened this issue Apr 27, 2020 · 1 comment
Open

The currentTime still counting after the audio reaches to end #112

mahmoudOmara opened this issue Apr 27, 2020 · 1 comment

Comments

@mahmoudOmara
Copy link

mahmoudOmara commented Apr 27, 2020

Describe the bug
after the current audio reach to end and ask the player to play next audio as I choose to not play automatically the current time continues counting

To Reproduce

  1. configure the player ass follow:-
    -player.automaticallyWaitsToMinimizeStalling = false
    -player.automaticallyPlayNextSong = false

  2. add four audio to the player "SourceType = stream"

  3. jump to item at any index, 1 for example.

  4. seek to near end and monitor the current time value

Expected behavior
the current time reset to zero and wait to the next audio to load

Note
I think the problem is that the player is loading the next audio and problem comes from this point

@mahmoudOmara mahmoudOmara changed the title **Describe the bug**the elapsedTime still counting after the audio reaches to end The elapsedTime still counting after the audio reaches to end Apr 27, 2020
@mahmoudOmara mahmoudOmara changed the title The elapsedTime still counting after the audio reaches to end The ecurrentTime still counting after the audio reaches to end Apr 27, 2020
@mahmoudOmara mahmoudOmara changed the title The ecurrentTime still counting after the audio reaches to end The currentTime still counting after the audio reaches to end Apr 27, 2020
@cendolinside123
Copy link

cendolinside123 commented Apr 28, 2020

it's happend to me, for some case I set automaticallyWaitsToMinimizeStalling = false The currentTime won't counting to the end of song. But it's still happend when I play song with audio format is flac after I seek a song. I already try adding AVURLAssetPreferPreciseDurationAndTimingKey : true but it's cause error on flac format #110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants