This is a precursor to merging https://github.com/google/ExoPlayer/pull/5578 PiperOrigin-RevId: 239371046
The core of the ExoPlayer library.