Hi,
I am having a problem streaming fies from a subdirectory of the root ("application") directory in Wowza. When files are placed in the root directory they stream fine, but putting them into a subdirectory leads to a FileNotFound error in Wowza. E.g.:
this URL works:
playList: [ { url: 'rtmp://localhost/vod/Extremists' } ]
this URL does not work:
playList: [ { url: 'rtmp://localhost/vod/subdir/Extremists' } ]
where "subdir" is a subdirectory under the "vod" application directory. Extremists.flv is in the "subdir" directory.
According to the Wowza message it cannot find a file in a subdirectory and is looking in the base (application) direcory. Does flowplayer not support subdirectories when rtmp is used?
Also tried to use the "baseDir" parameter- same result.
It seems like a flowplayer issue rather than Wowza's because the same problem does not exist when using a standalone FLVPlayer.
The full html snippet:
Thanks,
DavidB
streamingServerURL
Try this:
streamingServerURL: 'rtmp://localhost/vod',
playList: [ { url: 'subdir/Extremists' } ]
streamingServerURL specifies the app/scope that the player connects to and the playList entries are names for the streams. If you specify a complete URL for the clips in the playList it assumes that the app/scope URL ends to the last slash (in this case it would be rtmp://localhost/vod/subdir).
streamingServerURL
It worked exactly as you described. Thanks!