[Red5] NetConnection automatically disconnects
Dominick Accattato
daccattato at gmail.com
Fri Mar 30 14:39:00 EST 2007
you aren't returning false at the end of your methods are you?
On 3/30/07, ohjohn at inputoutput.net <ohjohn at inputoutput.net> wrote:
>
> web.handler is pointing to the right class. Also there is nothing inside
> my application class other than it extending the App Adapter.
>
> >From looking at the log, the swf client is correctly making a connection
> to the server, but something happens and "disconnect" get executed on the
> server side immediately after appJoin.
>
> This only happens when I'm using flex to build a swf. when I tried making
> a NetConnection with Flash 8, it worked fine.
>
>
> JohnO
>
> > What's your web.handler pointing to? Do you have any other code inside
> > this
> > class?
> >
> > On 3/30/07, ohjohn at inputoutput.net <ohjohn at inputoutput.net> wrote:
> >>
> >> Hello
> >>
> >> I'm having difficulty making a NetConnection to Red5.
> >>
> >> On the server side, I created a simple class that does nothing more
> than
> >> extend ApplicationAdapter. Then I created a simple mxml file that makes
> >> a
> >> NetConnection to my app.
> >>
> >> var con = new NetConnection();
> >> con.connect('rtmp://localhost/otto');
> >>
> >> >From the log, it looks like it's making the connection but get
> >> disconnected right away.
> >>
> >> ( org.red5.server.adapter.ApplicationAdapter.debug ) appConnect:
> >> RTMPMinaConnection from 127.0.0.1:1119 to localhost (in: 3384, out:
> >> 3073)
> >> ( org.red5.server.adapter.ApplicationAdapter.debug ) appJoin: Client: 0
> >> >>
> >> [WebScope at ecb3f1 Depth = 1, Path = '/default', Name = 'otto']
> >> ( org.red5.server.adapter.ApplicationAdapter.debug ) disconnect
> >> ( org.red5.server.adapter.ApplicationAdapter.debug ) appDisconnect:
> >> RTMPMinaConnection from 127.0.0.1:1119 to localhost (in: 3402, out:
> >> 3240)
> >> ( org.red5.server.adapter.ApplicationAdapter.debug ) leave
> >> ( org.red5.server.adapter.ApplicationAdapter.debug ) appLeave: Client:
> 0
> >> << [WebScope at ecb3f1 Depth = 1, Path = '/default', Name = 'otto']
> >>
> >>
> >> _______________________________________________
> >> Red5 mailing list
> >> Red5 at osflash.org
> >> http://osflash.org/mailman/listinfo/red5_osflash.org
> >>
> >
> >
> >
> > --
> > C is forever.
> > _______________________________________________
> > Red5 mailing list
> > Red5 at osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
--
Dominick Accattato, CTO
Infrared5 Inc.
www.newviewnetworks.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20070330/d83ee493/attachment.htm
More information about the Red5
mailing list