I get an error when I fire setRoomValues "MethodNotFound"

conferenceServer = new NetConnection();
conferenceServer.client = this;
conferenceServer.objectEncoding = ObjectEncoding.AMF0;
conferenceServer.connect(rmptUrlText.text + roomList.selectedItem.rooms_id);
conferenceServer.addEventListener( NetStatusEvent.NET_STATUS,
conferenceConnectionStatus_Changed );
conferenceServer.addEventListener(IOErrorEvent.IO_ERROR, errorStatus);


protected function
conferenceConnectionStatus_Changed(event:NetStatusEvent):void
 {
if ( event.info.code == "NetConnection.Connect.Success" )
{
 *conferenceServer.call.apply(this, ["setRoomValues",
textChatRoomConnectResp, _selectedRoomId]);*
}
 else if(event.info.code == "NetConnection.Call.Failed")
{
 }
else
{
 }
}



any help please?







On Wed, Jan 30, 2013 at 2:42 PM, Vieri <[email protected]> wrote:

> Thanks Sebastian.
>
> So maybe I could add my custom logic in setRoomValues. Now I just need to
> find the correct way to "auto-disconnect" the user from the room when my
> custom logic decides to do so (basically depends on my network and cpu
> resources at a given time).
>
> Any suggestions?
>
> Vieri
>
> --- On Wed, 1/30/13, [email protected] <[email protected]> wrote:
>
> > From: [email protected] <[email protected]>
> > Subject: Re: roomConnect
> > To: "dev" <[email protected]>
> > Date: Wednesday, January 30, 2013, 2:36 AM
> > Hallo Vieri
> >
> > roomConnect is an event handler that gets automatically
> > called in the
> > server interface. The client never actively "calls" this
> > method. You can
> > see that by the @Override annotation in the
> > ScopeApplicationAdapter. Every
> > Override is an event, not a actively called method.
> >
> > The client simply disconnects and uses the url:
> > rtmp://host:port/openmeetings/1 (for room_id 1)
> >
> > And later on calls "setRoomValues" as soon as he has
> > successfully connected.
> >
> > Sebastian
> >
> >
> > 2013/1/30 Vieri <[email protected]>
> >
> > > Hi,
> > >
> > > I'd like to know which part of the OM source code is
> > executed when a user
> > > clicks on the "Enter" button when trying to access a
> > room. I believe it
> > > could be:
> > >
> > >
> > org.apache.openmeetings.remote.red5.ScopeApplicationAdapter#roomConnect
> > >
> > > I also suppose that this method is called even when
> > users enter a room via
> > > invitation hash.
> > >
> > > I'm trying to find the right place in the source code
> > to customize room
> > > access (allow/deny) according to custom requirements.
> > > Is roomConnect always called before entering ANY
> > conference room?
> > >
> > > Are there any other classes/methods I should look for?
> > >
> > > Thanks,
> > >
> > > Vieri
> > >
> > >
> >
> >
> > --
> > Sebastian Wagner
> > https://twitter.com/#!/dead_lock
> > http://www.webbase-design.de
> > http://www.wagner-sebastian.com
> > [email protected]
> >
>



-- 
Regards,
Mohammed Fasil
TVM, Kerala, S.India
+919746458831

Reply via email to