Description
[REQUIRED] Searched documentation and issues
I've browsed https://github.com/google/exoplayer/issues?utf8=%E2%9C%93&q=is%3Aissue+metadata
[REQUIRED] Question
As far as I understand, ExoPlayer currently supports only one metadata track at the same time.
My usecase is to have EIT and TDT DVB tracks (respectively EPG and current time) reported back to the application through onMetadata
. So what I want is to select all metadata tracks, instantiate related decoders (based on various mime-types), and have all those metadata sent to a single MetadataOutput.
I don't know if there are cases where we don't want all tracks (there is the case when there are multiple PMTs in the stream, but that's already not well handled by ExoPlayer anyway)
EIT and TDT are just examples, DVB has many other metadata on various tracks. (AIT, BAT, NIT, ...)
What is the recommendation to do that?
Currently i'm thinking of instantiating multiple MetadataRenderer (though it needs to be a constant number, that'll need to be magically set), and changing selectTracks to allow assigning multiple renderers, but that's not really clean...