Results 1 to 7 of 7

Thread: VOD Streaming with Sub Folders

  1. #1
    Join Date
    Nov 2011
    Posts
    4

    Default 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

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    This is a duplicate post

  3. #3
    Join Date
    Nov 2011
    Posts
    4

    Default ok

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

  4. #4
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    I answered your other post

    http://www.wowza.com/forums/showthre...irectory/page2

    Richard

  5. #5

    Default

    Quote Originally Posted by rrlanham View Post
    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.
    Last edited by papad06; 05-05-2013 at 01:21 AM.

  6. #6
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    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

  7. #7

    Default

    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.

Similar Threads

  1. [VOD Streaming] Create a time frame for VOD stream
    By anhdung in forum Live Streaming and Encoders
    Replies: 2
    Last Post: 05-27-2014, 04:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •