As noted by rrlanham, you need to specify .sdp (session description protocol) for Live streams, instead of .flv; Note that the .sdp “file” never really exists as an actual file - it’s a placeholder to ensure the server understands this is a live stream, and not a file of the same name.
I found (today) with some awkward debugging, the same issue with slightly different embed code. The problem was present when using JW plyer 4.4.198 (newest) rather than a previously tested 4.1.60, and gave ‘Stream Not Found’ with otherwise just right URLs.
Also in your streamer : this application name is similar to a directory path, and should end in a slash (see code example below) or again, you’ll get Stream Not Found, as the request made to wowza seen in the log files, is incorrcet and you’d see " Application folder ([install-location]/applications/) is missing" in the logs.
Here’s the test code I was using - YMMV - but if all else fails, try with earlier JW player to ensure you’ve not ‘crossed the beams’ !
sFileName = ‘test.sdp’;
sContainer = ‘preview’;
function showLoader(sFileName, sContainer) {
var flashvars = {
file: sFileName,
streamer: “rtmp://ec2.xxx.xxx.xxx/event/”,
type: “video”,
bufferlength: “0.5”,
repeat: “none”,
playlist: “none”,
autostart: “false”,
fullscreen: “true”,
volume: “100”,
quality: “true”,
stretching: “none”
};
var params = { };
var attributes = { };
// NS : The syntax above was developed for JW player 4.1.60, but shows ‘stream not found’ for JM player player-4.4.198.swf
// You will need to re-check the JW player site to find out what’s changed for later player versions which causes this
// DO NOT DEPLOY 4.4.198. to customers until this is resolved.
swfobject.embedSWF(“flash/player-4.1.60.swf”, sContainer, “273”, “223”, “9”, “/flash/expressInstall.swf”, flashvars, params, attributes);
} // End function showLoader
NS : Correction - After more investigations, the change of behaviour was pinned down to the ‘type:’ value above. If it’s specified as ‘video’ this works OK in 4.1.60; For 4…4.198, the value MUST read type = “rtmp” for live video from a Wowza or Flash streaming server.
HTH - Cheers, Neil