# Live Stream via VOD static files and player events

**URL:** https://community.wowza.com/t/live-stream-via-vod-static-files-and-player-events/42389
**Category:** Wowza Streaming Engine
**Created:** [April 19, 2014, 7:28pm UTC](https://community.wowza.com/t/live-stream-via-vod-static-files-and-player-events/42389 "2014-04-19T19:28:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Max\_DeVill](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@Max\_DeVill](https://community.wowza.com/u/Max_DeVill)
#### Post date: [April 19, 2014, 7:28pm UTC](https://community.wowza.com/t/live-stream-via-vod-static-files-and-player-events/42389/1 "2014-04-19T19:28:40Z")

</div>

Hello!

I have a stream set up using the stream schedule.smil example on this site. Everything is working fantastically except for two things:

1 - Wowza refuses to recognize the server time as the time. It only uses GMT as the time zone for the server. Is there an option to configure a time zone change in a config file? I haven’t been able to find it through searches.

2 - what does your boss always want? Monetization. We currently have this covered by VAST ads before our actual VOD content. We also have a 24/7 live stream as created with the static VOD files into streamschedule.smil. Is there a event that is triggered when a video stops playing (end of video file) that I can utilize in creating a module that would send the VAST request?

Example: we have video A, video B, and video C. They are in the streamschedule.smil file in order. I want to be able to track the event when video B stops playing so I can send the player information to pull another vast ad, once that ad is done, load and play video C.

Thanks!

---

<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 21, 2014, 6:12pm UTC](https://community.wowza.com/t/live-stream-via-vod-static-files-and-player-events/42389/2 "2014-04-21T18:12:47Z")

</div>

Hi,

As far as I know, Wowza uses the system time and locale.

You can use [IMediaStreamActionNotify3.onUnpublish()](https://www.wowza.com/docs/how-to-use-imediastreamactionnotify3-interface-to-listen-for-rtmp-stream-events-includes-codec-info%28includes-codec-info%29) to detect when a live stream is stopped.

You might take a look the [Loop Until Live example](https://www.wowza.com/docs/how-to-loop-a-pre-roll-until-a-live-stream-starts-loopuntillive) as a starting place. Source code is included in the [Module Collection](https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software).

Richard
