Wowza Community

Accessing dynamic folders & videos using VOD

I have a directory in H:\Recordings where I store all of my media files

I setup the “Content Directory” to point to it using “H:/Recordings”

If I put an MOV file into the “H:/Recordings” folder such as video.mov, I can play it by using the string:

http://x.x.x.x:1935/vod/mp4:video.mov/playlist.m3u8

That works! My issue is that within the “H:/Recordings” folder, I have sub folders that contain the videos that I want to play (ex. H:/Recordings/SubFolder). These sub folders & videos change a lot. How do I access the videos in these sub folders? I can’t figure out how to dynamically call a sub folder & video in my code. I tried the following URL and it did not work:

http://x.x.x.x:1935/vod/SubFolder/mp4:video.mov/playlist.m3u8

I used to be able to do this when I used Wowza many years ago. I can’t figure out how I did it though.

Thx!

You will need to add the “definst” value to your URL to play content in subdirectories. For example.

http://[wowza-address]:1935/vod/_definst_/subfolder/mp4:video.mov/playlist.m3u8

That was an easy solution. Thank you!