Hi leoasis, I've been trying to find a way to control the interval to which onPlaying is called but couldn't find any in docs or source code.
So I tried understanding the code and build it myself but couldn't figure it out.
What I did was I added a new property called "updateInterval" and gave it to html5PollingInterval (the property I think is relevant to this usecase in soundmanager2).
This is a spinet of my change (at line 183) in your code:
Hi leoasis, I've been trying to find a way to control the interval to which onPlaying is called but couldn't find any in docs or source code. So I tried understanding the code and build it myself but couldn't figure it out.
What I did was I added a new property called "updateInterval" and gave it to html5PollingInterval (the property I think is relevant to this usecase in soundmanager2). This is a spinet of my change (at line 183) in your code:
And then in my code I added updateInterval and set it to 50:
But the result show an interval of about 200 to 300
This is crucial to my use case and would love to have your feedback. Thank you in advance