Skip to main content
September 19, 2012
Question

Sending error message: Method not found (releaseStream) and (FCPublish)

  • September 19, 2012
  • 1 reply
  • 2434 views

I'm writing my fist AMS application. I come to AMS from Wowza, so I'm not new to the concepts of creating applications, just new to doing it Adobe's way.

I have a very minimal application together so far that handles live streams. It does handle the live streaming ok; I can push a stream to it from FLME and watch it with the OSMF player just fine, but when I do so I get:

We accepted a connection; uri was rtmp://184.73.200.27/live

Sending error message: Method not found (FCPublish).

Sending error message: Method not found (releaseStream).

Add stream: 1084563

Sending error message: Method not found (FCUnpublish).

onUnpublish: killing off 1084563

Someone disconnected from the application

We accepted a connection; uri was rtmp://184.73.200.27:1935/live

in the debug window. Those error messages are what have me concerned now.

My main.asc so far is:

application.allowDebug = true;

application.onAppStart = function() {

        trace("The application has started");

}

application.onConnect = function(clientObj) {

        application.acceptConnection(clientObj);

        trace("We accepted a connection; uri was " + clientObj.uri);

}

application.onPublish = function(client, stream) {

        trace("Add stream: " + stream.name);

}

application.onUnpublish = function(client, stream) {

        trace("onUnpublish: killing off " + stream.name);

}

application.onDisconnect = function(clientObj) {

        trace("Someone disconnected from the application");

}

Given the code above, what am I missing and what do I need to do to fix it? Pointers to the appropriate documentation would be appreciated as well.

Never mind. I unzip main.far from the "live" application and found out what I had left out.

    This topic has been closed for replies.

    1 reply

    Inspiring
    September 25, 2012

    Hi,

    I think you will find answers to most of your questions here:

    http://forums.adobe.com/message/4550830

    Thanks,

    Shiven