Wowza Community

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/myStream.mp4/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?

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


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


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.



I´m 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[1]: /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[1]: /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

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 i´m writing on the url.


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

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

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

rtsp://(site address)/vod/mp4:(subfolder)/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 we´re setting our production server in 2 weeks.