Issue description
When utilizing the setAllowChunklessPreparation(true) for an HLS source timed ID3 metadata is not identified and the onMetadata callback is never called. It appears that a metadata source track is never identified when no sample chunks are downloaded. The DefaultTrackSelector.selectTracks output does not contain any metadata tracks and the Metadata renderer is never enabled.
Reproduction steps
Create a player that utilizes the setAllowChunlessPreparation for HLS with a onMetadata callback on the player - the onMetadata callback will never get called
new HlsMediaSource.Factory(dataSourceFactory)
.setAllowChunklessPreparation(true)
.createMediaSource(uri, mainHandler, eventLogger)
Version of ExoPlayer being used
2.7.0
Device(s) and version(s) of Android being used
Pixel 2 XL Oreo + various emulators