# Live Switching Between Multiple Streams - Possible?

**URL:** https://community.wowza.com/t/live-switching-between-multiple-streams-possible/375
**Category:** Wowza Streaming Engine
**Created:** [August 21, 2008, 3:30pm UTC](https://community.wowza.com/t/live-switching-between-multiple-streams-possible/375 "2008-08-21T15:30:23Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)
#### Post date: [August 21, 2008, 3:30pm UTC](https://community.wowza.com/t/live-switching-between-multiple-streams-possible/375/1 "2008-08-21T15:30:23Z")

</div>

Hi,

I have a live streaming application setup - streaming content via RTMP to a Flash Player - STREAM A.

I now would like to add another stream - STREAM B - and would like to be able to switch to this stream automatically without any disruption to the client player.

Can anyone point me in the right direction as to how I could do this?. i.e. How can I switch between multiple streams via the server.

In the future we could have 7/8 different streams coming in - so I would like the ability to switch either on a timed basis or by click of a button.

I’m currently reading up on the manual - and downloading the Wowza IDE so any help you could offer would be greatly appreciatated.

Many thanks!

- 

D

---

<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: [August 21, 2008, 3:48pm UTC](https://community.wowza.com/t/live-switching-between-multiple-streams-possible/375/2 "2008-08-21T15:48:58Z")

</div>

Take a look at this post, the case was slightly different, but I think it is the same essentially:

[https://www.wowza.com/forums/showthread.php?t=1645&highlight=switch](https://www.wowza.com/forums/showthread.php?t=1645&highlight=switch)

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: [June 22, 2010, 2:35pm UTC](https://community.wowza.com/t/live-switching-between-multiple-streams-possible/375/3 "2010-06-22T14:35:04Z")

</div>

You can use StreamClass. Take a look at these examples:

[https://www.wowza.com/forums/showthread.php?t=7094](https://www.wowza.com/forums/showthread.php?t=7094)

[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/forums/showthread.php?p=32659](https://www.wowza.com/forums/showthread.php?p=32659)

Richard

---

<div class="post-metadata">

### Author: ![Igor\_Biscan](https://avatars.discourse-cdn.com/v4/letter/i/71e660/32.png) [@Igor\_Biscan](https://community.wowza.com/u/Igor_Biscan)
#### Post date: [August 27, 2008, 12:29pm UTC](https://community.wowza.com/t/live-switching-between-multiple-streams-possible/375/4 "2008-08-27T12:29:05Z")

</div>

Thanks for the help Richard.

I’ve installed the IDE + reading up on the User Guide now.

Will let you know how I get on.

–

D

---

<div class="post-metadata">

### Author: ![Alejandro\_Ferrari](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Alejandro\_Ferrari](https://community.wowza.com/u/Alejandro_Ferrari)
#### Post date: [June 22, 2010, 10:16am UTC](https://community.wowza.com/t/live-switching-between-multiple-streams-possible/375/5 "2010-06-22T10:16:29Z")

</div>

Hi Julio,

Your are from Brasil? I’m from Argentina 😉

Currently don’t have any way to mix 2 stream into one, we have the same application you are describe but switching from ServerSide not Client Side.

Our application work this way:

```auto
livestream1 --------
                      | ------> PLAY <------- Clients
livestream2 --------

```

From the Server Side we can switch beetwen LiveStream1 and LiveStream2 but the User NEVER need change the stream always are connected to PLAY

Has a very small delay all depend of the speed of the connection and the Buffer time into the player.

Let me know if this something like you are searching or is the same you have running now.

Regards,

Alejandro

---

<div class="post-metadata">

### Author: ![Alejandro\_Ferrari](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Alejandro\_Ferrari](https://community.wowza.com/u/Alejandro_Ferrari)
#### Post date: [June 22, 2010, 11:19am UTC](https://community.wowza.com/t/live-switching-between-multiple-streams-possible/375/6 "2010-06-22T11:19:26Z")

</div>

Julio,

Maradona is more bigger than Pele 😉 lolol

About this, We are implemented the same for VOD.

```auto
livestream1 --------
                      |
VOD ---------------- ServerSideModuleSwitcher ------> PLAY <------- Clients
                      
                      |
livestream2 --------

```

I don’t have this module working into my server now, but I’ll put online and I hope tomorrow you can use an try this.

Cheers,

Alejandro

---

<div class="post-metadata">

### Author: ![Julio\_Costa](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@Julio\_Costa](https://community.wowza.com/u/Julio_Costa)
#### Post date: [June 22, 2010, 5:04am UTC](https://community.wowza.com/t/live-switching-between-multiple-streams-possible/375/7 "2010-06-22T05:04:41Z")

</div>

Hi.

We’ve built an app in Flash (Flex, actually) which streams live video from the webcam to Wowza, which then records that video. Look good so far.

Now, we’ve also made a “live switcher” which allows us to, for example, stream a video from the webcam in New York and switch to the video of the webcam in Paris.

We are able to do that live quite well: Wowza “re-streams” the video from whatever the “live” source is. In practice, it is recording 2 streams of video and switching live between them. Works ok.

The problem is on the on-demand viewing. Having two streams of video makes it quite hard to play as a single one. I’d have to play the two stream at once and have triggers to switch between them. Since one would have to “pause” for the other stream to start, programming this would be quite complicated, would be really nice to maintain synchronized time progression and, worst of all, would introduce quick “blacks screens” everytime a switch occurs. Not very elegant…

So my question is: is there a way for the Wowza Media Server to actually capture the streaming that is being “outputted”? This would generate a single file, instead of capturing multiple “input files”.

Any inputs about this are greatly appreciated. Thanks in advance!

---

<div class="post-metadata">

### Author: ![Julio\_Costa](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@Julio\_Costa](https://community.wowza.com/u/Julio_Costa)
#### Post date: [June 22, 2010, 6:06am UTC](https://community.wowza.com/t/live-switching-between-multiple-streams-possible/375/8 "2010-06-22T06:06:46Z")

</div>

Hi Alejandro,

Argentina??? nooo 😃 rsss

We are doing exactly the same so that for live events,

the problem is being recorded for the event (on demand)

as you advise me to do or what the best solution to this issue.

could be seeing your application?

Thank you very much
