VOD Streaming with Sub Folders

Hi, I’m trying to get ios devices to work with Sub Folders in my directory. I got it to work for Flash. But, not ios. I got it to work with Flash streaming by adding the sub folder to the line with the file location as opposed to the file directory location(which is where I thought it would have worked) So instead of being at the end of the directory name it is at the beginning of the file name. for example

‘provider’: ‘rtmp’,

‘streamer’: ‘rtmp://64.119.133.84:1935/spotvault_vod’,

‘file’: ‘HD/MP4700_2997BestVari.mp4’,

‘image’: ‘http://example.com/thumbs/sintel.jpg’,

‘modes’: [

{type: ‘flash’, src: ‘jwplayer/player.swf’},

{

type: ‘html5’,

config: {

‘file’: ‘http://64.119.133.84:1935/spotvault_vod/HD/mp4:MP4700_2997BestVari.mp4/playlist.m3u8’,

‘provider’: ‘video’

}

So I just can’t figure out how to use the sub folder for ios streaming. spotvault is my content folder and HD is my sub folder.

Here is my page https://www.ucanvu.com/jwwow10_vespotfolders.html

it works in ios if I don’t use a sub folder. but, I have so many files and I need to organize them.

Thanks

This is a duplicate post

I answered your other post

Richard

Your example is not right. The correct form is:

protocol://[wowza-address]:1935/[app-name]/definst/mp4:[path]/[stream-name]

App instance part is only needed when content is located in a subfolder and you are using one string. HTTP urls are always one string. RTMP players often split the connection part from the stream part, but some don’t and in that case you also need to use definst between the application name and the path.

Richard

I answered your other post

Change content directory

Richard

Hi, if I understand this thread correctly only the html5 streaming url requires a definst before the subfolder name.

For eg, I have a subfolder with vod/sub with mp3 files

rtmpurl - rtmp://wowza/vod/mp3:filename

rtspurl - rtsp://wowza/vod/mp3:filename

but httpurl has to be http://wowza/mp3:definst/vod/mp3:filename

This kind of makes it a bit inconsistent for integration. Rather than change url scheme based on where content is, we have to also do it based on whether content is in a subfolder and then vary by player!

To add to the inconsistency just using definst for all the different players does not work.

Ahh ok, I got it wrong.

With that syntax, the definst works for all formats and we dont need to have separate logic in code.

ok then can you point me to the other post with the answer?

Thanks