Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Buffering Position #2

Closed
bdlukaa opened this issue Sep 19, 2021 · 0 comments · Fixed by #3
Closed

Buffering Position #2

bdlukaa opened this issue Sep 19, 2021 · 0 comments · Fixed by #3
Labels
enhancement New feature or request

Comments

@bdlukaa
Copy link
Contributor

bdlukaa commented Sep 19, 2021

Know the current buffering position.

Can be done simply with WinRT:

g_media_players.at(player_id).BufferingProgress();

and Linux:

      "   player.addEventListener('progress' (event) => {"
      "       var duration = myAudio.duration; " 
      "       if (myAudio.buffered.length > 0) { " 
      "           buffering(myAudio.buffered.end(myAudio.buffered.length - 1) * 1000);"
      "       } " 
      "   });"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants