VOD client ad resolving and insertion

For VOD content, the PSDK inserts ad breaks by splicing into the main content so that the timeline duration increases.

Before playback, the PSDK resolves known ads, inserts ad breaks into the main content as described by a timeline returned from Ad Decisioning, and recomputes the virtual timeline if needed.

In VOD, the PSDK inserts ads as follows:

After playback starts, no further changes can occur in the content. For example: