Playback behavior with ads: Default and customized

The behavior of media playback is affected by seeking, pausing, DVR fast forward or rewind (trick-play mode), and the inclusion of advertising. The PSDK provides ways for you to override the default behavior.

Note: The PSDK does not provide a way to disable seeking during ads. Adobe recommends that your application disable seeking during ads.
For live/linear:
  • Resuming playback after a pause results in continuing playback with the buffered content at the time of the pause operation. If the resuming position is still within the playback range, the playback should be continuous. Otherwise, the PSDK jumps to the new live point. Also, you can choose a different playback point by performing a seek operation.
  • The PSDK resolves ads between cues after the position the application enters live playback. Playback begins after the first cue is resolved. The default value for entering live playback is the client live point, but you can choose a different position. All cues before the initial position are resolved after the application performs a seek in the DVR window.

The following table describes how the PSDK handles ads and ad breaks during playback.

Description Default PSDK behavior policy Customization available through AdBreakPolicySelector
During normal play, an ad break is encountered.
  • For live/linear, plays the ad break, whether or not it has already been watched.
  • For VOD, plays the ad break and then removes it.
Specify a different policy for the ad break using selectPolicyForAdBreak.
Your application seeks forward over ad break(s) into main content. Plays the last unwatched ad break that was skipped over, then resumes playback at the desired seek position upon break(s) playback completion. Choose which of the skipped breaks to play using selectAdBreaksToPlay.
Your application seeks backward over ad break(s) into main content. No ad break plays and skips to the desired seek position. Choose which of the skipped breaks to play using selectAdBreaksToPlay.                     
Your application seeks forward into an ad break. Plays from the beginning of the ad in which the seek ended. Specify a different ad policy for the ad break and for the specific ad where the seek ended using selectPolicyForSeekIntoAd.
Your application seeks backward into an ad break. Plays from the beginning of the ad in which the seek ended. Specify a different ad policy for the ad break and for the specific ad in which the seek ended using selectPolicyForSeekIntoAd.
Your application seeks forward or backward over watched ad break(s) into main content. If the last ad break skipped has already been watched, skips to the user-selected seek position. Select which of the skipped breaks to play using selectAdBreaksToPlay, and determine which have already been watched using the isWatched property.
Your application seeks forward or backward over one or more ad breaks and drops into a watched ad break. Skips the ad break and seeks to the position immediately following the ad break. Specify a different ad policy for the ad break (with the watched status set to true) and for the specific ad where the seek ended using selectPolicyForSeekIntoAd.
Your application goes into trick-play (DVR mode). Play rate can be negative (rewind), between 0 and 1 (slow forward) or greater than 1 (fast forward). Skips all ads during fast forward or rewind, plays the last break skipped after trick play ends, and skips to the user-selected trick play position upon break(s) playback completion. Select which of the skipped breaks to play after trick play ends using selectAdBreaksToPlay.
Note: By default, the PSDK marks an ad break as watched immediately upon entering the first ad in the ad break.