You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's working as intended, but I agree it's not ideal.
When the playlist is prepared, it spawns off the preparation of all the playlist elements. Only after each child element is prepared, you'll see the tag when using window.tag or player.getCurrentTag(). Before the child element is prepared, the window is just an empty shell without any information and unfortunately also without tag. Please listen to onTimelineChanged to see the updates happen.
The reason behind this behaviour is that there is no 1:1 relation between media source and windows because each media source can have multiple windows. That's why we can't assign a tag as long as we don't know more about the media structure.
Issue description
When i try to get window tag, i always get
null
. Generally happens after i change media sourceReproduction steps
I feed concatenating mediaSource to player
Concatenatingmediasource consists of several HLS MS where i put tags. Each of them checked to be non null.
I check for tag in onTracksChanged()
when this method i called i getting following log, where all tags are null
Version of ExoPlayer being used
version 2.8.2
The text was updated successfully, but these errors were encountered: