Skip to main content
PaulCuttler
Participant
January 16, 2015
Question

AMS NetStream Response Object

  • January 16, 2015
  • 0 replies
  • 416 views

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

This topic has been closed for replies.