若要停用前段通話,請變更預設機會產生器,使其不進行前段通話。 預設機會產生器為:
@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;
}
若要在即時資料流上停用前置滾動,請變更上述專案以僅包含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;
}