# add welcome video before play live stream on client side

**URL:** <https://community.wowza.com/t/add-welcome-video-before-play-live-stream-on-client-side/37903>\
**Category:** Wowza Streaming Engine\
**Created:** [December 22, 2011, 6:15pm UTC](https://community.wowza.com/t/add-welcome-video-before-play-live-stream-on-client-side/37903 "2011-12-22T18:15:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandra\_kant\_panchal](https://avatars.discourse-cdn.com/v4/letter/c/74df32/32.png) [@chandra\_kant\_panchal](https://community.wowza.com/u/chandra_kant_panchal)\
**Post date:** [December 22, 2011, 6:15pm UTC](https://community.wowza.com/t/add-welcome-video-before-play-live-stream-on-client-side/37903/1 "2011-12-22T18:15:37Z")

</div>

hi

any body help me to add welcome video before play live stream

every client when hit on rtsp or other live link than first play welcome video and after that play live stream

please help me i m beginner in wowza implementations

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 22, 2011, 4:52pm UTC](https://community.wowza.com/t/add-welcome-video-before-play-live-stream-on-client-side/37903/2 "2011-12-22T16:52:18Z")

</div>

There is no way to do pre-roll for live stream in Wowza at present.

You could do intermittent ad inserts, like tv ads, using Stream class:

[https://www.wowza.com/docs/stream-class-example](https://www.wowza.com/docs/stream-class-example)

[https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher)

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

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

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 5, 2012, 11:51am UTC](https://community.wowza.com/t/add-welcome-video-before-play-live-stream-on-client-side/37903/3 "2012-04-05T11:51:49Z")

</div>

The only way to do static pre-roll for live stream using Wowza (at present) is in coordination with a Flash RTMP client. The client plays a static video, listens for “NetStream.Play.Stop” notification in the NetStream.onPlayStatus handler, then plays the live stream.

If the Wowza Application.xml /StreamType is “default”, do this before you play the live stream:

```auto
netconnection.call("setStreamType",null, "live");
var netstreamLive:NetStream = new NetStream(netconnection);
netstreamLive.play(streamName);

```

Richard

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [April 5, 2012, 11:28am UTC](https://community.wowza.com/t/add-welcome-video-before-play-live-stream-on-client-side/37903/4 "2012-04-05T11:28:17Z")

</div>

Hi

I don’t think Wowza has a module built for this but you can create your own or one can be created for you as a custom module.

If you choose to have one created for you, you can get the list of independent consultants by emailing support@wowza.com

Jason

---

<div class="post-metadata">

**Author:** ![Jaymin\_Thakkar](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@Jaymin\_Thakkar](https://community.wowza.com/u/Jaymin_Thakkar)\
**Post date:** [April 5, 2012, 10:24am UTC](https://community.wowza.com/t/add-welcome-video-before-play-live-stream-on-client-side/37903/5 "2012-04-05T10:24:22Z")

</div>

> There is no way to do pre-roll for live stream in Wowza at present.
> 
> You could do intermittent ad inserts, like tv ads, using Stream class:
> 
> [Create pseudo-live streams using files](https://www.wowza.com/docs/stream-class-example)
> 
> [Schedule streaming](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher)
> 
> [Module examples for Wowza Streaming Engine](https://www.wowza.com/docs/how-to-control-stream-class-streams-dynamically-modulestreamcontrol)
> 
> [Switch streams using Stream class streams](https://www.wowza.com/docs/how-to-switch-streams-using-stream-class-streams)
> 
> Richard

Hello rrlanham,

From your given link we can just able to add welcome video on static VOD but i need to add it in before live streaming.

Please guide me how can i achieve it.

Thanks in advance !

Warm Regards,

Jaymin K. Thakkar.
