AMS NetStream Response Object
I am creating a NetStream object in Adobe Media Server application, and getting the following error:
Sending error message: Response object not found (_result:0).
I have defined a handler for the onStatus message, which is working fine, but it doesn't catch this error. And I can't find any information on this error message anywhere. Indeed, the documentation on server-side error messages is very limited.
The code causing this error is:
| var ns = null; |
try
{
| ns = new NetStream(application.nc); | |
}
catch (e)
{
| trace("____NetStream error" + e.name + " " + e.message); | |
| return; |
}
ns.onStatus = netStreamStatusHandler;
I am getting NetStream.Connect.Success though. And I was wondering if the NetStream constructor calls a method initStream() on the other server?
thanks, Paul
