# Insert Ads Into Live Broadcast

**URL:** <https://community.wowza.com/t/insert-ads-into-live-broadcast/40070>\
**Category:** Wowza Streaming Engine\
**Created:** [July 26, 2013, 3:40pm UTC](https://community.wowza.com/t/insert-ads-into-live-broadcast/40070 "2013-07-26T15:40:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cem\_K\_305\_yanc](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@Cem\_K\_305\_yanc](https://community.wowza.com/u/Cem_K_305_yanc)\
**Post date:** [July 26, 2013, 3:40pm UTC](https://community.wowza.com/t/insert-ads-into-live-broadcast/40070/1 "2013-07-26T15:40:45Z")

</div>

Hi,

I want to insert ads into broadcast tv channel.

Advertising will be published first, and then the TV will continue to broadcast

How do I make it

Thanks…

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [July 26, 2013, 8:16am UTC](https://community.wowza.com/t/insert-ads-into-live-broadcast/40070/2 "2013-07-26T08:16:41Z")

</div>

Wowza cannot meet this exact requirement at present: vod pre-roll before live across client types.

You can do vod before live with Flash RTMP clients only, but it is not all serve-side. You need to listen for “NetStream.Play.Stop” notification in NetStream onStatus handler when playing the pre-roll then play the live stream.

You can do intermittent insertion, like tv advertisement using the Stream class or the IPublishingProvider API. Here are some examples:

[How to do scheduled streaming with Stream class streams (server listener)](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher)

[How to dynamically control Stream class streams](https://www.wowza.com/docs/how-to-control-stream-class-streams-dynamically-modulestreamcontrol)

[How to switch streams using Stream class streams](https://www.wowza.com/docs/how-to-switch-streams-using-stream-class-streams)

[How to use IPublishingProvider API to publish server-side live streams](https://www.wowza.com/docs/how-to-use-ipublishingprovider-api-to-publish-server-side-live-streams)

Salvadore
