This document provides a technical overview of the Server-Guided Ad Insertion (SGAI) feature as implemented in the proof-of-concept index.html file. It is intended for developers and engineers who need to understand, maintain, or extend this functionality.
The SGAI feature enables the insertion of advertisements into a Video on Demand (VOD) stream in a manner guided by the server. This implementation leverages AWS MediaTailor to dynamically insert ads into an HLS stream, with the client-side player handling the ad playback, tracking, and content resumption.
The primary goal is to provide a seamless ad experience for the user, where ads are played at specific points in the content timeline as dictated by the HLS manifest.