# How to setup WOWZA to do VOD and Live Streaming at same time?

**URL:** <https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277>\
**Category:** Wowza Streaming Engine\
**Created:** [June 25, 2014, 4:42pm UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277 "2014-06-25T16:42:51Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ming\_Chan](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Ming\_Chan](https://community.wowza.com/u/Ming_Chan)\
**Post date:** [June 25, 2014, 4:42pm UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/1 "2014-06-25T16:42:51Z")

</div>

My WOWZA server is currently running VOD service. And now we would like to add live audio broadcasting service, I have the following question at the moment.

1. Can I use the same machine for both service?

2. How to do the setup and configuration?

3. What audio broadcasting source do WOWZA supports?

4. I would like to put my broadcasting on my website, which player can do that? JWPlayer?

Many thanks

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [June 25, 2014, 4:53am UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/2 "2014-06-25T04:53:27Z")

</div>

Hello there, and welcome to the forum.

Yes, Wowza can support live and VOD streaming at the same time on the same machine. You just need to have an application set up for VOD and one for live. (You can also have more then one application for each type)

I am not sure what your question number 3 is. But Wowza supports AAC and MP3 audio codecs.

Yes, JW Player and Wowza is a very popular combination.

If you have done so yet, please take a look at the [quick start guide](https://www.wowza.com/docs/quick-start-guides) to help answer some of your question.

Please let us know how we can assist you in the future.

Salvadore

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [July 2, 2014, 10:07am UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/3 "2014-07-02T10:07:12Z")

</div>

Hi,

Please take a look at the “[How to use JW Player with Wowza Streaming Engine](https://www.wowza.com/docs/how-to-use-jw-player-with-wowza-streaming-engine)” forum article.

It should have all the info you need.

Zoran

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [June 30, 2014, 5:34am UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/4 "2014-06-30T05:34:13Z")

</div>

For server specs:

We recommend late-model dual-quad cpu, 4 - 8 gigs of ram, 64 bit OS and 64bit version of Java.

You will need a live stream encoder. A few popular options are:

[Flash Media Live Encoder](http://www.adobe.com/products/flash-media-encoder.html)

[Wirecast](http://www.telestream.net/wirecast/)

These guides will explain how to set up your Wowza application:

[How to set up live streaming using an RTMP-based encoder (Flash Media Live Encoder)](https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder)

[How to use Telestream Wirecast live encoder with Wowza Streaming Engine](https://www.wowza.com/docs/how-to-use-telestream-wirecast-live-encoder-with-wowza-streaming-engine)

For audio encoding, it is best to use AAC audio from the encoder (if it is available) if using mp3, it should be 4100Hz, 64 or 128kb.

I hope this answers your questions.

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [July 2, 2014, 4:51am UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/5 "2014-07-02T04:51:10Z")

</div>

Glad to hear we were able to help and that you are up and running.

Let us know how we may assist you in the future.

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [July 4, 2014, 6:24am UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/6 "2014-07-04T06:24:38Z")

</div>

Hello, does this issue happen consistently or randomly?

It is possible that the connection between FMLE and Wowza was lost. Do you have a stable network connection?

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [July 7, 2014, 6:18am UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/7 "2014-07-07T06:18:55Z")

</div>

It is strange that it happens just about every 30 minutes. Are you running any custom modules? What is happening on your server every 30 minutes? A cronjob?

Try removing FMLE from the equation by create a live stream using the [StreamClass Example.](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher)

You can take a look at your memory usage with [JConsole](https://www.wowza.com/docs/how-to-use-jconsole-with-wowza-media-server) to help narrow down the problem.

You can also start Wowza in stand-alone mode(/bin/startup.bat | startup.sh) and see the log output in the console to help pin down the problem.

I hope this helps.

Salvadore

---

<div class="post-metadata">

**Author:** ![Ming\_Chan](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Ming\_Chan](https://community.wowza.com/u/Ming_Chan)\
**Post date:** [June 30, 2014, 3:38pm UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/8 "2014-06-30T15:38:49Z")

</div>

Hi Salvadore,

Thanks for the reply. I would like to use the Wowza server to broadcast a live PR event’s audio. So I will need a PC in the venue to record the sound and send to Wowza server and broadcast that, right?

So, what format / Protocol do that PC output so that Wowza has the best support?

---

<div class="post-metadata">

**Author:** ![Ming\_Chan](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Ming\_Chan](https://community.wowza.com/u/Ming_Chan)\
**Post date:** [July 2, 2014, 3:28pm UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/9 "2014-07-02T15:28:06Z")

</div>

Hi Salvadore,

Thanks a lot for the reply, this is what I am exactly looking for.

I have now setup the application called “live” in my wowza server and tried to use Flash Media Live Encoder to broadcast something and tested under Test Player page ([https://www.wowza.com/testplayers](https://www.wowza.com/testplayers)) and it works perfectly!

Another problem now (hope it would be final one), I am using JWplayer in my website, how can I generate rtmp for my live stream so that I can embed it to my JWplayer?

is it rtmp://[ip]/live/[mystreamname] ? \< but it response 404

---

<div class="post-metadata">

**Author:** ![Ming\_Chan](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Ming\_Chan](https://community.wowza.com/u/Ming_Chan)\
**Post date:** [July 2, 2014, 4:17pm UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/10 "2014-07-02T16:17:41Z")

</div>

Thanks a lot Zoran, I have just successfuly play my stream with JWplayer.

Thank you Zoran and Salvadore

btw, the rtmp url should be rtmp://[ip]:[port]/[applicationname]/[format]:[mystreamname]

which is rtmp://[ip]:[port]/live/mp4:[mystreamname] to me

---

<div class="post-metadata">

**Author:** ![Ming\_Chan](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Ming\_Chan](https://community.wowza.com/u/Ming_Chan)\
**Post date:** [July 4, 2014, 5:26pm UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/11 "2014-07-04T17:26:06Z")

</div>

Hi Salvadore,

Sorry to bother you again, I have tested my live stream with test player for many times, and it will eventually stop after about 30min.

Is there any configuration value to set this timeout or expiry time?

---

<div class="post-metadata">

**Author:** ![Ming\_Chan](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Ming\_Chan](https://community.wowza.com/u/Ming_Chan)\
**Post date:** [July 7, 2014, 3:01pm UTC](https://community.wowza.com/t/how-to-setup-wowza-to-do-vod-and-live-streaming-at-same-time/43277/12 "2014-07-07T15:01:32Z")

</div>

Hi Salvadore,

I am using office network, I bet the network is very stable.

And this happens like everytime, I can’t found any configuration setting is related to that yet.
