This simplifies the API surface and the MediaController implementation. PiperOrigin-RevId: 383385436
Common code used by other ExoPlayer modules.