Customize opportunity detectors and content resolvers

An opportunity detector is a component of the PSDK that detects custom tags in a stream and identifies placement opportunities. These placement opportunities are then sent to the content resolver, which customizes the content/ad insertion workflow based on the placement opportunity properties and metadata.

The PSDK includes a default opportunity detector:
  • (PTOpportunityResolver), which understands default ad cues
The PSDK also includes a default content resolver that provides content to be inserted based on the metadata key in the player item:
  • PTContentResolver
You can override the default opportunity detectors and content resolvers to customize the advertising workflow in ways such as the following:
  • Add support for custom tag detection
  • Recognize custom tags for ad insertion
  • Create a customized ad provider
  • Black out content