- Newest
- Most votes
- Most comments
The behavior you're observing with AWS Elemental MediaTailor is not the expected or optimal behavior for ad insertion, especially for a live HLS stream with a large number of simultaneous viewers.
Typically, MediaTailor is designed to transcode ad creatives to match the encoding characteristics of the origin content. Once an ad is transcoded, it should be ready for use in subsequent requests, reducing the need for repeated transcoding of the same creative.
In an ideal scenario, when a new video ad creative is returned in a prefetch ad call, MediaTailor should transcode it to your various renditions and store these transcoded versions for a period of time. These stored versions should then be used for future ad calls across different viewer sessions, which would be much more efficient for a stream with 10,000+ simultaneous viewers.
The behavior you're describing, where the same creative is being transcoded for each individual viewer session, suggests that there might be an issue with how the ad caching or delivery is configured. This could potentially be related to how your CDNs are set up for ad and content segments, or there might be a configuration issue within MediaTailor itself.
To address this, you may want to consider the following steps:
-
Review your MediaTailor configuration to ensure it's set up correctly for caching and reusing transcoded ad creatives.
-
Check your CDN configuration to make sure it's not preventing the caching and reuse of transcoded ads.
-
Verify that the ad decision server (ADS) is consistently providing the same ad creative identifiers for the same ads across different sessions.
-
Reach out to AWS support for a detailed investigation of your specific setup, as they can provide tailored guidance based on your exact configuration and usage patterns.
-
Monitor the MediaTailor metrics in CloudWatch to get more insights into the ad insertion and transcoding processes.
By optimizing this process, you should be able to significantly reduce the number of unnecessary transcodings and improve the efficiency of your ad insertion workflow for your large-scale live HLS stream.
Sources
How MediaTailor ad insertion works - AWS Elemental MediaTailor
MediaTailor FAQs
MediaTailor Features
answered 2 years ago
