In SSAI, when a player requests a manifest, the ad-stitching server inserts ad segments at the points marked by SCTE-35 cues in the upstream feed. The result is one continuous HLS or DASH manifest mixing content and ad segments, with #EXT-X-DISCONTINUITY markers between them. The player downloads ads exactly like content segments, decodes them with the same decoder, and renders them through the same pipeline. From the player's perspective there are no ads — just a stream that occasionally crosses discontinuities.
SSAI's advantage over client-side ad insertion (CSAI) is robustness against ad blockers. Browser ad-blockers look for known ad-server URLs and block requests to them; in SSAI all segment URLs come from the same content domain, so the blocker has no signal to act on. SSAI also gives cleaner viewer experience — no separate ad player, no pre-roll loading spinner, no resolution mismatch between ad and content.
SSAI's complexity is in the ad decisioning and manifest stitching. Each viewer's manifest is personalised — different ads for different viewers based on geo, time of day, viewer attributes. The ad decisioning happens via VAST/VMAP calls from the SSAI server to ad networks. Major SSAI providers include AWS Elemental MediaTailor, Yospace, Mux Ads, Google Ad Manager DAI, and Wurl. Most large OTT platforms use SSAI for live and FAST channels; CSAI persists for some VOD use cases where ad refresh is needed.

