Deshabilitar anuncios previos a la emisión

Para deshabilitar el anuncio previo a la emisión, cambie los generadores de oportunidades predeterminados para que no realicen la llamada previa a la emisión. Los generadores de oportunidades predeterminados son:

@inheritDoc
*/
override protected function doRetrieveGenerators(item:MediaPlayerItem):Vector.<OpportunityGenerator> {
var result:Vector.<OpportunityGenerator> = new Vector.<OpportunityGenerator>();
result.push(new AdSignalingModeOpportunityGenerator());
result.push(new SpliceOutOpportunityGenerator());
return result;
}

Para deshabilitar el anuncio previo a la emisión en directo, cambie lo anterior para incluir solo SpliceOutOpportunityGenerator:

@inheritDoc
*/
override protected function doRetrieveGenerators(item:MediaPlayerItem):Vector.<OpportunityGenerator> {
var result:Vector.<OpportunityGenerator> = new Vector.<OpportunityGenerator>();
if (preroll_enabled == true) { result.push(new AdSignalingModeOpportunityGenerator()); }

result.push(new SpliceOutOpportunityGenerator());
return result;
}

En esta página