Ad Insertion
Ad insertion allows dynamically placing ads at specific points in a live audio stream. The stream is paused at a defined trigger point, ads are played, and the stream continues from the same point afterward. This process does not remove any part of the original stream but introduces a time shift.
Stream Flow
<-- Stream --- [StartBeepTrigger, Stream stops] Playing Ads (Insertion Zone xxxxx) [Stream continues where stopped] --- Stream <---
Requirements
Insertion Trigger
A trigger must be placed at the exact moment where the ad is to be inserted.
- Frequency: 18 Hz 
- Duration: 1500 ms 
- Signal: Phase-inverted on both left and right channels 
- Optional: A flipped copyright bit ((Probably needs more adjustments, like no transcoding)) 
Once the trigger is detected, the stream is paused, and ad playback begins. When the ad(s) finish, the stream resumes from the exact point at which it was stopped.
Stream Behavior
- The original stream is not altered — no audio frames are removed. 
- Ads are inserted during a temporary pause in playback. 
- After ad playback, the stream resumes exactly where it left off. 
- The listener experiences a delayed stream, depending on ad length. 
- You can configure a maximum allowed delay to control latency. 
Configuration in Console
To configure ad insertion:
- Configure an ad zone alias for mid-rolls 
- At the same place you can fine tune shifts/delays for the trigger in case this is needed. 
Last updated
