This more closely matches the pattern we have for all implementations except DefaultMediaSourceFactory (e.g. ProgressiveMediaSource.Factory) and other factory interfaces like (Http)DataSource.Factory. PiperOrigin-RevId: 417826803
#minor-release PiperOrigin-RevId: 406347412
The issue is fixed in 2.14.0 - keys are fetched ahead of playback #minor-release PiperOrigin-RevId: 374159998