
The flag in ExoPlayer.prepare is documented as keeping the current window index and window position. We are currently using the current period UID and period position instead. This causes problems when the media source is changed but the position is not reset. Using the initial seek position instead ensures we actually use the window index and position. Issue:#5520 PiperOrigin-RevId: 236101024
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.