mirror of
https://github.com/androidx/media.git
synced 2025-05-21 23:56:32 +08:00

This is a proof of concept for cleanup we should do for all of our DataSource implementations as we move toward stabilizing parts of the API. - Move all XDataSourceFactory classes to be inner classes. - Remove chained constructors for XDataSourceFactory classes. Keep required args going through constructors. Use setters for the rest. - Not applicable in this case, but we probably want to deprecate all but the no-arg method for instantiating eac XDataSource instance (with the all-arg method kept but with the intention of making it package private). PiperOrigin-RevId: 274162076
ExoPlayer main demo
This is the main ExoPlayer demo application. It 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.