# IP camera restream

**URL:** <https://community.wowza.com/t/ip-camera-restream/46143>\
**Category:** Wowza Streaming Engine\
**Created:** [April 5, 2016, 11:07pm UTC](https://community.wowza.com/t/ip-camera-restream/46143 "2016-04-05T23:07:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wiebe\_Veenstra](https://avatars.discourse-cdn.com/v4/letter/w/34f0e0/32.png) [@Wiebe\_Veenstra](https://community.wowza.com/u/Wiebe_Veenstra)\
**Post date:** [April 5, 2016, 11:07pm UTC](https://community.wowza.com/t/ip-camera-restream/46143/1 "2016-04-05T23:07:25Z")

</div>

Goodevening,

I have a question. I have a Wowza server for my IP camera’s.

I have 6 IP camera’s now in my Wowza server. The camera’s are 24/7 connected.

Is it possible that Wowza connect to my IP camera when people watching?

I mean when no body watching than Wowza disconnect the IP camera, and when ther is a watcher Wowza connect.

I hope anybody know’s that is possible.

Regards,

Wiebe

---

<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:** [April 6, 2016, 6:11am UTC](https://community.wowza.com/t/ip-camera-restream/46143/2 "2016-04-06T06:11:07Z")

</div>

Hello there and welcome to the Wowza support forum.

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.

I hope this answers your question.

Regards,

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:** [April 7, 2016, 6:58am UTC](https://community.wowza.com/t/ip-camera-restream/46143/3 "2016-04-07T06:58:30Z")

</div>

You would set the ‘StreamType’ to ‘rtp-live’ in the file [install-dir]/conf/[MyApplicationName]/Application.xml

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Wiebe\_Veenstra](https://avatars.discourse-cdn.com/v4/letter/w/34f0e0/32.png) [@Wiebe\_Veenstra](https://community.wowza.com/u/Wiebe_Veenstra)\
**Post date:** [April 6, 2016, 11:15pm UTC](https://community.wowza.com/t/ip-camera-restream/46143/4 "2016-04-06T23:15:43Z")

</div>

Hi,

My clients are RTMP and HLS.

Where i can find RTP-LIVE ? I am now using, RTP.

Wiebe
