You can get this info in Flash player in the NetStream onStatus handler:
This is trace output from Wowza SimpleVideoStreaming player:
Code:
onStatus:
level = error
details = samxxxple.mp4
description = Failed to play samxxxple.mp4; stream not found.
clientid = 221923853
code = NetStream.Play.StreamNotFound
This the source:
Code:
nsPlay.addEventListener(NetStatusEvent.NET_STATUS, nsOnStatus);
private function nsOnStatus(infoObject:NetStatusEvent):void
{
trace("onStatus: ");
for (var propName:String in infoObject.info)
{
trace(" "+propName + " = " + infoObject.info[propName]);
}
if (infoObject.info.code == "NetStream.Play.Start")
isProgressUpdate = true;
else if (infoObject.info.code == "NetStream.Play.StreamNotFound" || infoObject.info.code == "NetStream.Play.Failed")
prompt.text = infoObject.info.description;
}
JW Player handles this too.
Richard