Support SCTE-35 in HLS
Hello, We want to show some custom UI when In video ads are on going, we are not using IMA ads. We are getting SCTE-35 markers in the manifest file but in exoplayer we are not getting the metadata.
What should be the better way to handle this? What should be the idle SCTE marker should we use or do we need to parse the manifest manually?
Where exactly are your SCTE-35 markers? If you are not getting the metadata via Player.Listener.onMetadata, then I suspect there might be some parsing logic missing. That's impossible to say without more details though. If it's missing, it would also be worth sharing a test file/stream for testing (you can send that to [email protected] with subject "Issue #2560")
So I am getting the SCTE-35 markers in HLS Manifest file with tag EXT-X-DATERANGE
Like these https://docs.aws.amazon.com/elemental-live/latest/ug/scte-35-ad-marker-ext-x-daterange.html
Thanks for the clarification. Parsing SCTE-35 elements from HLS playlists is not implemented yet. This was so far tracked by https://github.com/google/ExoPlayer/issues/10992, but I'll move the tracking issue to Media3 now. If you are motivated, feel free to send a pull request that parses the tags in HlsPlaylistParser as first step. That would already help to make the tags easily accessible at least via `Player.getCurrentManifest().
After parsing in HlsPlaylistParser Where should we ingest the data? In a new callback dedicated to this?
Tendencias AndroidXhptllgestionsexrasonsble