AdsProvider
interface AdsProvider
SPI base for ad-insertion implementations. Apps construct a provider from an ads module and pass it to OGPlayer.Builder.setAdsProvider — exactly one provider per player. Providers come in two styles:
TimelineAdsProvider: ads are spliced into the Media3 timeline and the content engine plays them (
ImaAdsProvider). Configured per item with AdTagConfig.SlotAdsProvider: the provider plays ads in its own renderer over the content surface while content pauses underneath (FreeWheel). Configured per item with the module's own AdBreakConfig implementation.