mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

`RenderersFactory#createSecondaryRenderer` can be implemented to provide secondary renderers for pre-warming. These renderers must match their primaries in terms of reported track type support and `RendererCapabilities`. If a secondary renderer is provided, ExoPlayer will enable it for a subsequent media item as soon as its `MediaPeriod` is prepared. This will cause the renderer to start decoding and processing content so that it is ready to play as soon as playback transitions to that media item. PiperOrigin-RevId: 704326302
Test data module
Provides sample data for media unit and instrumentation tests.