I am unable to stream mp4 and mp3 content from directories which are sub directories of my applications Streams > StorageDir, not matter what I try to do with the paths.
Our application generates massive amounts of content and requires the content to be organised in sub directories rather than simply stored in the root of the applications content directory.
Some background.
For testing I am using the CS3 FLVPlayback component.
My applications My Streams > StorageDir is set to /echo360
I am able to stream mp4 content that exists within the root of application content directory by simply pre-pending mp4: to the filename
ie,
rtmp://localhost/echo360/mp4:vga01.mp4
And I am able to stream flv content from a sub directory by using definst in the path
ie,
rtmp://localhost/echo360/definst/dev/vga03.flv
However all of the following fail.
rtmp://localhost/echo360/definst/dev/mp4:vga02.mp4
ERROR server comment - MediaReaderFactory: getInstance: Missing definition for dev/mp4
rtmp://localhost/echo360/dev/definst/mp4:vga02.mp4
ERROR server comment - MediaReaderFactory: getInstance: Missing definition for definst/mp4
rtmp://localhost/echo360/mp4:definst/dev/vga02.mp4
I even tried dropping the file extension from the call to the file and these fail too.
rtmp://localhost/echo360/definst/dev/mp4:vga02
rtmp://localhost/echo360/dev/definst/mp4:vga02
rtmp://localhost/echo360/mp4:definst/dev/vga02
Any suggestions to resolve this problem without storing everything in the root of the applications content directory will be much appreciated