-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Feat/ontimedmetadata android #707
Feat/ontimedmetadata android #707
Conversation
This is working great for me. Any feedback? |
@RWOverdijk thanks for your concern...looking for some way to test that 👍... |
@raihanabbas232 All the changes required are in this PR. |
thanks for this work and hope this gets merged soon |
Hi @RWOverdijk, did you manage to make the onTimedMetaData optional ? I'm looking to implement this in my app but I don't want to loose my users who uses api 22. |
Not sure I understand your question. This method worked for me and was optional. |
I took the code as it is in this pull request and applied it on a fork. It works great on android >=6.0 but it crashes on android 5.1. Maybe I did something wrong but I don't know what. |
Not working. I'm not getting any metadata in the ontimedmetadata callback. |
Is there a stream I can use to test this? I've tried a couple HLS streams and not had any luck getting onTimedMetadata to fire on iOS either, so I don't think they'll work for testing this. I'm totally not up on using timed metadata so a complete set of instructions would be great. I can handle making this backwards compatible once I understand how to test this. |
@RWOverdijk Ok I've updated the code so that you don't need to update to SDK 23. We don't want to make 23 the minimum as many people still want to support 4.1 or 4.4. I've tried to test this with the only timed metadata stream I have and the listener is not detecting it. The URL is: Between only supporting newer devices, not detecting all metadata, and having to do major hacks to format the output, I'm not sure this is very workable. Is it worth supporting this or should we tell people to use ExoPlayer if they need timed metadata? |
This PR adds support for getting the id3 tag (currently support for the single timecode) in android. I have tested it and it functions identical to the other platforms in the projects.
Notes
I'll be forking this module, with this PR merged as I can't wait for your feedback right now. I'll try to keep submitting PRs as long as I don't stray from the current codebase too far.