• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster Pro
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • On-Demand Streaming /
avatar image
Question by Jim Bushee · Nov 15, 2011 at 02:58 PM · on-demand streaming

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
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Richard Lanham · May 05, 2013 at 03:29 PM

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
Comment
Jerry Li

People who like this

1 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image John Smith · May 05, 2013 at 07:25 PM 0
Share
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.
avatar image

Answer by Richard Lanham · Nov 15, 2011 at 08:04 PM

This is a duplicate post
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jim Bushee · Nov 15, 2011 at 03:58 PM 0
Share
ok then can you point me to the other post with the answer?

Thanks
avatar image

Answer by Richard Lanham · Nov 15, 2011 at 09:26 PM

I answered your other post

http://www.wowza.com/forums/showthread.php?9366-Change-content-directory/page2

Richard
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image John Smith · May 05, 2013 at 08:15 AM 0
Share
I answered your other post

http://www.wowza.com/forums/showthread.php?9366-Change-content-directory/page2

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.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

multi-bitrate streaming encoding 5 Answers

test streams 4 Answers

Stream WMV on VOD 1 Answer

Codec Private Data missing 1 Answer

VOD to Microsoft Mediaroom through smoothstreaming 7 Answers

Hot Topics
  • Streaming Protocols
  • Wowza SDKs
  • AWS Hosting
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Partners
  • Partners Overview
  • Find a Reseller
  • Channel Partner Program
  • OEM Program
  • Wowza Reseller Portal
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Contact Us
Stay Connected
Sign Up for Our Blog
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster Pro
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges