There are several requirements to be aware of while incorporating ads in your video
content.
The following requirements apply to ad insertion:
- The HLS version of the advertising content must be the same as or earlier than the
HLS version of the main content.
- Target duration and any individual segment duration of the ad must not exceed the
target duration of the main content.
- Advertising content must have an audio-only stream if the main content also contains
an audio-only stream.
- Advertising content must not be encrypted if the main content has subtitles
streams.
- Advertising content must be multiple bit rate (MBR) if the main content is MBR.
- Ad playlists must have the same bit-rate renditions as that of the main content
playlist.
- If the main content has alternate audio tracks, each ad must have at least an
audio-only stream, or the ad is skipped.