Results 1 to 6 of 6

Thread: How can I play back a file with a path on iOS?

  1. #1

    Default How can I play back a file with a path on iOS?

    I have a stream that exists at ${CONTENT_DIR}/testing/myStream.mp4. If I have a stream at just ${CONTENT_DIR}/myStream.mp4, then I can play it easily with http://url:1935/vod/mp4:myStream.mp4/playlist.m3u8, but if I try to play a stream at http://url:1935/vod/mp4:testing/mySt.../playlist.m3u8, I can't seem to play it back. What's the format for playing back an iOS stream with a pathname involved in the stream name?

  2. #2

    Default

    If your file is in a subdirectory called "testing" in your Content directory use:

    http://url:1935/vod/_definst_/mp4:testing/myStream.mp4/playlist.m3u8

  3. #3
    Join Date
    Mar 2012
    Posts
    3

    Default

    Hi,

    Im having the same problem, and the way randall suggests isn't working for me. I get this response from the server, which shows the request is not following to the subdirectory.

    Any light with this issue would be appreciated.

    WARN server comment 2012-03-05 17:39:18 - - - - - 60.662 - - - - - - - 659278-DUAL-110-416x234.mp4 MediaReaderH264.open[1]: java.io.FileNotFoundException: /usr/local/WowzaMediaServer/content/659278-DUAL-110-416x234.mp4 (No such file or directory)
    WARN server comment 2012-03-05 17:39:20 - - - - - 62.382 - - - - - - - 659278-DUAL-110-416x234.mp4 MediaReaderH264.open[1]: java.io.FileNotFoundException: /usr/local/WowzaMediaServer/content/659278-DUAL-110-416x234.mp4 (No such file or directory)
    ERROR server comment 2012-03-05 17:39:20 - - - - - 62.382 - - - - - - - - MediaReaderH264Cupertino.indexFile:java.lang.NullPointerException

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    It always means the file is not there. It doesn't look like a subfolder is involved in that path.

    Richard

  5. #5
    Join Date
    Mar 2012
    Posts
    3

    Default

    No, the files are there. Right now i have 420 files on 70 subfolders. I can watch them using a smil for the iphone/ipad, i can watch them through flowplayer with no problem, but when i try calling a single file on iphone/ipad or through rtsp it tries to get the file directly from the content folder and not the subfolder im writing on the url.

    Ex:
    http://(site address)/iphone/(subfolder)/mp4:filename.mp4/playlist.m3u8 (doesn't work)
    http://(site address)/iphone/mp4subfolder)/filename.mp4/playlist.m3u8 (doesn't work)

    rtsp://(site address)/vod/(subfolder)/mp4:filename.mp4 (doesn't work)
    rtsp://(site address)/vod/mp4subfolder)/filename.mp4 (doesn't work)

    All these inputs give me the dame error i posted above.

    Any help at all with this would be apreciated, as were setting our production server in 2 weeks.

  6. #6
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Referring to what Randal showed you above, you need to add application instance (_definst_) when content is in a subfolder
    rtsp://(site address)/vod/_definst_/mp4:subfolder/filename.mp4
    When content is in the root of the content folder, no path is required, Wowza uses the default application instance "_definst_" which is otherwise arbitrary if you specify it. So Wowza assumes the subfolder is the application instance. Adding _defints_ fixes it.

    Richard

Similar Threads

  1. Replies: 12
    Last Post: 10-25-2013, 04:45 AM
  2. Can't Play back AdaptiveBitrate
    By Javier in forum General Forum
    Replies: 7
    Last Post: 06-19-2012, 05:27 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
  •