# Switch source without disconnect viewers?

**URL:** <https://community.wowza.com/t/switch-source-without-disconnect-viewers/444>\
**Category:** Wowza Streaming Engine\
**Tags:** server-administration\
**Created:** [May 28, 2011, 11:17am UTC](https://community.wowza.com/t/switch-source-without-disconnect-viewers/444 "2011-05-28T11:17:03Z")\
**Posts on this page:** 4\
**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:** [May 28, 2011, 11:17am UTC](https://community.wowza.com/t/switch-source-without-disconnect-viewers/444/1 "2011-05-28T11:17:03Z")

</div>

Hello,

I’m looking for a solution (maybe already did somebody that) to switch from a source to another one without disconnect already connected viewers/listeners on stream, the already connection on stream to remain connected, to kick maybe first source and to connect from the second (all this on live stream not on-demand).

Thank you

Best regards

CyberMix

---

<div class="post-metadata">

**Author:** ![Ian\_Beyer](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@Ian\_Beyer](https://community.wowza.com/u/Ian_Beyer)\
**Post date:** [May 28, 2011, 5:16am UTC](https://community.wowza.com/t/switch-source-without-disconnect-viewers/444/2 "2011-05-28T05:16:57Z")

</div>

If you’re doing it on a scheduled basis, you can use the stream class module to make the switch. Details here: [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)

-Ian

---

<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:** [May 28, 2011, 11:57am UTC](https://community.wowza.com/t/switch-source-without-disconnect-viewers/444/3 "2011-05-28T11:57:43Z")

</div>

Take a look at this example:

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

It is very basic, you will have to elaborate to your requirements.

Richard

---

<div class="post-metadata">

**Author:** ![Ivan\_Florin](https://avatars.discourse-cdn.com/v4/letter/i/dfb087/32.png) [@Ivan\_Florin](https://community.wowza.com/u/Ivan_Florin)\
**Post date:** [May 28, 2011, 1:54pm UTC](https://community.wowza.com/t/switch-source-without-disconnect-viewers/444/4 "2011-05-28T13:54:58Z")

</div>

Hello Ian,

and thanks for replay;

I’m looking to keep viewers/listeners connected on Wowza stream server till switch from live source 1 to live source 2, to do not be disconnected from stream, maybe to play a file from /content directory till this transition it’s done. The switch will not be schedule, it’s dynamic, like on audio stream when switch from one dj to another one. Maybe can be done if grow up the time on destroy stream or something ☹

I really need this for live stream session to can jump from one source to second one.

Thank you

Regards,

CyberMix
