-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Fire an event at a particular playback interval. #2653
Comments
It should be pretty easy to write your own piece of code that looks at the playback position and fires events at specified times. It's not something you need the player to do for you. Having the player do it for you anyway for convenience is tracked by #2189. |
We're currently working on this feature to let the player run a callback when it reaches a certain playback position. We would like to have your opinion on some edge cases in #2189 - please let us know what would fit your requirements best. |
I'm wondering If there's an ability to fire an event every, say 30 seconds. I've searched in the issues for that and I found issue, that says I should extend
TrackRenderer
.I've searched for that class, didn't find it. But I've found
MediaCodecAudioRenderer
, Is that the class to be extended although I don't see where the event listener to be placed.Is their a capability or a specific class to override or extend ?
The text was updated successfully, but these errors were encountered: