With a few small pieces of custom Java and HTML code, you can extend Wowza Streaming Engine™ media server software to insert ad requests dynamically and enable JW Player 7 to insert and display ads during playback of live Apple HLS streams.
The source code for this example is available on GitHub.