Also, if you leave storageDir blank, then content will be stored in:
wowza_install/applications/yourApp/streams/someInstance/someStream.flv
…which is another way to organize content.
Excellent, this resolved the problem, much appreciated
So for others following this thread or also looking for a solution…
The end solution came together following the above instructions and leaving the storageDir blank. The default behaviour of Wowza just works now in particular with serving mp4 content from within a sub-directory.
So I changed my Application.xml file to have a blank storageDir,
default
I noticed that Wowza had created a streams directory in my application directory.
/Library/WowzaMediaServerPro/applications/echo360/streams/
So I created a directory called ‘test’ inside my streams directory, and copied vga06.flv and vga05.mp4 into that ‘test’ directory. Now both of the following content paths just worked,
Note: I had to actually drop the definst directory from my content paths, which in previous tests noted earlier in the thread seemed to be required when serving content from sub-directories.
From here I tested using a symlink in place of the ‘streams’ directory, which pointed at my original ech360 directory in the root of my hard drive, and sure enough that just worked too. This can be important for anyone wanting to use storage other than there boot volume, and/or outside of their Wowza server directory structure.
So doing an ls on the following directory,
/Library/WowzaMediaServerPro/applications/echo360
shows the following,
drwxr-xr-x 8 shaun admin 272 14 Apr 19:21 sharedobjects
lrwxr-xr-x 1 shaun admin 9 14 Apr 19:23 streams → /echo360/
So now I was able to simply stream a file on my system with the following absolute path on my hard drive,
/echo360/dev/vga02.mp4
Using the following content path,
rtmp://localhost/echo360/dev/mp4:vga02.mp4