
- It's not possible to determine a period's duration just from the corresponding Period element in a DASH manifest. It's necessary to look at the start time of the next period (or the duration of the manifest for the last period) to determine how long a period is. We don't currently do this in the parser, and hence set duration incorrectly. We also set period start times incorrectly because we don't set it to equal to sum of the durations of prior periods in the case where it's not explicitly defined. - We're currently propagating these (incorrect) values all over the place through data-structures that we build when parsing the Period element. - This CL removes this redundancy, storing only the start time of each period in Period elements, and not propagating it elsewhere. It's then used when required in DashChunkSource.
Demo application
This folder contains a demo application that uses ExoPlayer to play a number of test streams. It can be used as a starting point or reference project when developing other applications that make use of the ExoPlayer library.