ExoPlayer Version
2.18.3
Devices that reproduce the issue
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Provide a dash manifest with an empty segmentTimeline, getSegmentTimeUs attempts to index into segmentTimeline which is empty, resulting in an out of bounds error.
Expected result
Something other than an out of bounds error, perhaps an error or warn that the segmentTimeline is empty.
Actual result
Index out of bounds exception
Media
This was the mpd in question. May violate DASH spec, but a more useful error would be appreciated
DASH_EXAMPLE.zip
Bug Report