Open biesbjerg opened 5 years ago
It seems the 'Track Changed' event is called twice shortly after each other, maybe that is relevant:
@biesbjerg - Hi... Thanks for the detailed analysis. Were you able to fix this issue in your project for ios devices? I am using a flutter plugin which is built based on this plugin and have been facing the same issue on ios devices.
Hi
Sadly no, I moved on by creating my own plugin using Capacitor. Sorry!
@biesbjerg - Thanks for your response. I will move on to a different plugin too I guess.
Expected Behaviour
Play next item in playlist smoothly
Actual Behaviour
Next item in playlist stutters at the beginning
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Load up a playlist and play from beginning (make sure items does not have silent gaps in the beginning, or you won't be able to hear the stutter)
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iPhone X, iOS 12
Cordova CLI version and cordova platform version
8.1.2 (cordova-lib@8.1.1)
Installed platforms: android 6.2.3 browser 4.1.0 ios 4.4.0 Available platforms: osx ~4.0.1 windows ~6.0.0
Plugin version
cordova-plugin-playlist 0.6.0 "AudioPlayer"
Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem
I have some data from
verbose
option, which shows thecurrentPosition
of the item resetting after a few ms.