# Is VOD of live stream possible?

**URL:** <https://community.wowza.com/t/is-vod-of-live-stream-possible/41978>\
**Category:** Wowza Streaming Engine\
**Created:** [July 28, 2016, 5:29pm UTC](https://community.wowza.com/t/is-vod-of-live-stream-possible/41978 "2016-07-28T17:29:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seungyong\_kwon](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@Seungyong\_kwon](https://community.wowza.com/u/Seungyong_kwon)\
**Post date:** [July 28, 2016, 5:29pm UTC](https://community.wowza.com/t/is-vod-of-live-stream-possible/41978/1 "2016-07-28T17:29:37Z")

</div>

Hi,

My customer wants to have VOD from a live stream instead of file.

So I searched and found a similar post from this forum.

> [@Live streaming + on demand, possible?](http://community.wowza.com/t/-/46960):
>
> Hello everyone. We are evaluating the Wowza server as a possible solution to a recent issue we are having. We are trying to solve an scenario where there is only one available camera stream from an Onvif compliant camera. We would like to multiply that stream for any number of users but we have the following restrictions: part of the network (the one the camera is in) does not support multicast, so configuring the camera to do multicast is not an option. we need to be on demand, in such…

My question is basically same with above post but it seems following question hasn’t been answered yet.

- Can we do it in such a way that “on demand” requests or releases the source stream. Which means camera stream is not consumed if no clients are connected to the proxy requesting the camera?

Long question to short: Can I set a live stream content(via RTSP) to a source of a VOD?

Thanks in advance,

SY

---

<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 28, 2016, 6:09am UTC](https://community.wowza.com/t/is-vod-of-live-stream-possible/41978/2 "2016-07-28T06:09:25Z")

</div>

I am not sure exactly what you are asking. But it sounds like you want a live camera feed to only be published when a client requests it?

If your clients are RTMP and/or RTSP you would just need to set your stream type to “rtp-live”. When using the “rtp-live” stream type in your application’s configuration file, the source stream will be published to Wowza only when the first client connects to the stream

For HTTP streams to be active, the data packets need to be packetized. Wowza will start packetizing the HTTP stream as soon as the stream is published. The stream is not published if there isn’t at least one client requesting the stream. So basically, an HTTP client can not be the first to request the rtp-live stream. Once the stream has been published by an RTMP client, HTTP clients can connect

Best,

salvadore
