# Switch between 24/7 playlist and live stream

**URL:** <https://community.wowza.com/t/switch-between-24-7-playlist-and-live-stream/37688>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [February 19, 2012, 10:13am UTC](https://community.wowza.com/t/switch-between-24-7-playlist-and-live-stream/37688 "2012-02-19T10:13:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![christoph\_beringer](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@christoph\_beringer](https://community.wowza.com/u/christoph_beringer)\
**Post date:** [February 19, 2012, 10:13am UTC](https://community.wowza.com/t/switch-between-24-7-playlist-and-live-stream/37688/1 "2012-02-19T10:13:46Z")

</div>

hi wowza people,

we work with wowza on ec2 and it works like a charme so far.

we broadcast a 24/7 playlist for which we dynamically create and change Stream and Play objects (live and vod) in a custom Wowza Module.

The playlist data is being maintainend in a cms, wowza gets the playlist updates as a JSON string and creates the corresponding actions.

Now we want to do the following and need a little hint on how to implement this the best way:

- Stream 1 should play our existing 24/7 playlist (works already)

- On Stream 2, we want to broadcast 1-2 daily live streams, that should replace the 24/7 playlist. When the live stream ends, we want to switch back to the 24/7 stream

- Stream 3 should handle the switch between 24/7 playlist and live streams in order to send a consistent signal to the player.

We are looking forward to all of your answers and thank you a lot in advance!

best,

Christoph

---

<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:** [February 19, 2012, 6:13pm UTC](https://community.wowza.com/t/switch-between-24-7-playlist-and-live-stream/37688/2 "2012-02-19T18:13:22Z")

</div>

Take a look at these examples:

[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)

[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)

And/or:

[https://www.wowza.com/docs/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)

Richard

---

<div class="post-metadata">

**Author:** ![Paul\_Markson](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@Paul\_Markson](https://community.wowza.com/u/Paul_Markson)\
**Post date:** [July 17, 2012, 6:14pm UTC](https://community.wowza.com/t/switch-between-24-7-playlist-and-live-stream/37688/3 "2012-07-17T18:14:27Z")

</div>

hudstage,

I’m new to Wowza. How did you set up the 24/7 playlist? I am using Wowza on Amazon and would like to do this too.

> hi wowza people,
> 
> we work with wowza on ec2 and it works like a charme so far.
> 
> we broadcast a 24/7 playlist for which we dynamically create and change Stream and Play objects (live and vod) in a custom Wowza Module.
> 
> The playlist data is being maintainend in a cms, wowza gets the playlist updates as a JSON string and creates the corresponding actions.

---

<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 2, 2012, 6:44pm UTC](https://community.wowza.com/t/switch-between-24-7-playlist-and-live-stream/37688/4 "2012-04-02T18:44:11Z")

</div>

Take a look at the links I posted above

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:** [July 18, 2012, 12:49am UTC](https://community.wowza.com/t/switch-between-24-7-playlist-and-live-stream/37688/5 "2012-07-18T00:49:21Z")

</div>

Start with this 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)

Richard

---

<div class="post-metadata">

**Author:** ![shawn\_gaffney](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@shawn\_gaffney](https://community.wowza.com/u/shawn_gaffney)\
**Post date:** [March 2, 2012, 12:07am UTC](https://community.wowza.com/t/switch-between-24-7-playlist-and-live-stream/37688/6 "2012-03-02T00:07:30Z")

</div>

Came to the forums looking for exactly this.

@hundstage - Are you able to share the custom module that allows you to do this?

I’d really be interested in learning to do exactly what you are after.

thanks

---

<div class="post-metadata">

**Author:** ![Vinicius\_Hacebe](https://avatars.discourse-cdn.com/v4/letter/v/74df32/32.png) [@Vinicius\_Hacebe](https://community.wowza.com/u/Vinicius_Hacebe)\
**Post date:** [April 2, 2012, 2:29pm UTC](https://community.wowza.com/t/switch-between-24-7-playlist-and-live-stream/37688/7 "2012-04-02T14:29:41Z")

</div>

I’ve been trying to do something simillar.

i tried to add a live stream among the playlist items, but it doesn’t play. but this is out of the question by now.

> we broadcast a 24/7 playlist for which we dynamically create and change Stream and Play objects (live and vod) in a custom Wowza Module.
> 
> The playlist data is being maintainend in a cms, wowza gets the playlist updates as a JSON string and creates the corresponding actions.

Could you explain to me how you do that… i’ve created a php module that creates the playlist and when the server is restarted it updates the smil file. but it’s not good for publishers who wants to change the current playlist. and as i understood, you can manipulate the stream on the fly… is it correct? if so, please help me with that.
