
It's more flexible to use FakeDataSource, since it allows to testing different upstream behaviors (e.g., upstream not being able to resolve the content length). PiperOrigin-RevId: 362072899
ExoPlayer library
The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.