Ad resolving and ad loading can cause an unacceptable delay for a user waiting for playback to start. The Lazy Ad Loading and Lazy Ad Resolving features can reduce this startup delay.
Basic ad resolving and loading process:
The player uses the URLs in the manifest to obtain the ad content (creatives), ensures that the ad content is in a format that TVSDK can play, and TVSDK places the ads on the timeline. This basic process of resolving and loading ads can cause an unacceptably long delay for a user waiting to play their content, especially if the manifest contains several ad URLs.
Lazy Ad Loading:
This feature improves upon the basic process by putting the player into the PREPARED status before all ads are loaded.
Lazy Ad Resolving:
Lazy Ad Resolving builds on Lazy Ad Loading to allow for even faster start up. After TVSDK places any pre-roll ads, it moves the player into the PREPARED status, and then resolves additional ads and places them on the timeline.
Factors to consider with Lazy Ad Resolving:
Lazy Ad Resolving is enabled by default. If you disable it, all ads are resolved before playback starts.
Lazy Ad Resolving does not allow seeking or trickplay until after all the ads are resolved:
The player must wait for the
kEventAdResolutionComplete event before allowing seeking or trick play.
If the user attempts to perform seek or trick play operations while ads are still being resolved, TVSDK throws the
If necessary, the player should update the scrub bar, after receiving the
Lazy Ad Resolving is for VOD only. It will not work with LIVE streams.
Lazy Ad Resolving is incompatible with the Instant On feature.
For more information about Instant On, see instant-on .