# Streaming ip cameras from subfolders

**URL:** https://community.wowza.com/t/streaming-ip-cameras-from-subfolders/43596
**Category:** Wowza Streaming Engine
**Created:** [October 24, 2014, 4:37pm UTC](https://community.wowza.com/t/streaming-ip-cameras-from-subfolders/43596 "2014-10-24T16:37:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sergey\_Zykov](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Sergey\_Zykov](https://community.wowza.com/u/Sergey_Zykov)
#### Post date: [October 24, 2014, 4:37pm UTC](https://community.wowza.com/t/streaming-ip-cameras-from-subfolders/43596/1 "2014-10-24T16:37:40Z")

</div>

Good afternoon!

In our project we need to use structure with subfolders. For ex. we have root folder ipcam and in this folder we have a lot of folders with number combinations. And in this folders we see a lot of files.

Example:

1. /ipcam/camera-test.stream

2. /ipcam/01/camera-test.stream

In first variant I can give the stream by rtmp, rtsp, http (hls). rtmp://[ip-of-server]:1935/ipcam/mp4:camera-test.stream

In second var. I can’t give the stream by rtsp and http(hls).

rtmp://[ip-of-server]:1935/ipcam/mp4:01/camera-test.stream is working

But rtsp://[ip-of-server]:1935/ipcam/mp4:01/camera-test.stream and http://[ip-of-server]:1935/ipcam/mp4:01/camera-test.stream/playlist.m3u8 are not working! What should we do to stream from subfolder’s files?

---

<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: [October 24, 2014, 8:08am UTC](https://community.wowza.com/t/streaming-ip-cameras-from-subfolders/43596/2 "2014-10-24T08:08:44Z")

</div>

Hello there,

Try adding _definst_ to the URL:

Example

```auto
[ip-of-server]:1935/ipcam/_definst_/mp4:01/camera-test.stream

```

Kind 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: [November 27, 2014, 6:52am UTC](https://community.wowza.com/t/streaming-ip-cameras-from-subfolders/43596/3 "2014-11-27T06:52:23Z")

</div>

That’s great news Sergey. Thanks for the update and glad I was able to help get this working.

Kind regards,

Salvadore

---

<div class="post-metadata">

### Author: ![Sergey\_Zykov](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Sergey\_Zykov](https://community.wowza.com/u/Sergey_Zykov)
#### Post date: [November 27, 2014, 4:49pm UTC](https://community.wowza.com/t/streaming-ip-cameras-from-subfolders/43596/4 "2014-11-27T16:49:39Z")

</div>

Salvadore, thank you! I tryed it in that day and everything was ok! Thank you a lot!

–

With best regards,

Sergey
