[Red5] Edge/Origin - can't connect with AMF3 encoding

Lenny Sorey lrsorey at gmail.com
Tue Dec 4 05:01:39 PST 2007


Hi Steven,

Just to be sure I did not ask the wrong question.

The Edge / Origin app would run in a Tomcat Server (on multiple machines)
as a webwar.

Hope I am making sense.

I am not using the stand alone the Jetty but Tomcat via webwar.

I will read your instructions for getting this app up and running.

I have 4 servers I can test this on.

Thanks,

Lenny


On 12/3/07, Steven Gong <steven.gong at gmail.com> wrote:
>
> Lenny,
>
> On Dec 3, 2007 11:54 PM, Lenny Sorey <lrsorey at gmail.com> wrote:
>
> > Hi Steven,
> >
> > Do you think the Red Edge / Origin app in its present state
> > would work with a Tomcat solution or will this have to modified
> > to work with Tomcat.
> >
> >
> Do you mean the solution for Tomcat deployment? If so, yes, I think so. I
> don't think there are many changes needed. You can try to update
> red5-origin-core.xml to enable it.
>
>
> >  Thanks and good work!!
> >
> > Regards,
> >
> > Lenny
> >
> >
> >   On 12/3/07, Steven Gong <steven.gong at gmail.com> wrote:
> > >
> > > OK, it's fixed on r2487. Please try again.
> > >
> > >  On Dec 3, 2007 7:24 PM, Guillaume Lecanu <Guillaume at lya.fr> wrote:
> > >
> > > >
> > > > Le lundi 03 décembre 2007 à 18:58 +0800, Steven Gong a écrit :
> > > >
> > > > BTW, what is the error message when you connect with AMF3?
> > > >
> > > > On the FP Client : "NetConnection.Connect.Closed"
> > > >
> > > > On the console of Edge :
> > > >
> > > >
> > > > 2007-12-03 11:23:28,128 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: String
> > > > 2007-12-03 11:23:28,129 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: Number
> > > > 2007-12-03 11:23:28,129 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: Object
> > > > 2007-12-03 11:23:28,129 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - read map
> > > > 2007-12-03 11:23:28,129 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,129 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - property: app
> > > > 2007-12-03 11:23:28,131 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: String
> > > > 2007-12-03 11:23:28,132 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - val: oflaDemo
> > > > 2007-12-03 11:23:28,132 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,132 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,132 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - property: flashVer
> > > > 2007-12-03 11:23:28,132 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: String
> > > > 2007-12-03 11:23:28,132 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - val: LNX 9,0,48,0
> > > > 2007-12-03 11:23:28,132 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,132 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,133 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - property: swfUrl
> > > > 2007-12-03 11:23:28,133 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: String
> > > > 2007-12-03 11:23:28,133 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - val:
> > > > http://dev.box/red5_swf/DEV_Deploy/publisher.swf
> > > > 2007-12-03 <http://dev.box/red5_swf/DEV_Deploy/publisher.swf2007-12-03> 11:23:28,133 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,133 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,133 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - property: tcUrl
> > > > 2007-12-03 11:23:28,133 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: String
> > > > 2007-12-03 11:23:28,133 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - val: rtmp://192.168.1.9/oflaDemo
> > > > 2007-12-03 11:23:28,133 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,133 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - property: fpad
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: Boolean
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - val: false
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - property: audioCodecs
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: Number
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - val: 615
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - property: videoCodecs
> > > > 2007-12-03 11:23:28,134 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: Number
> > > > 2007-12-03 11:23:28,135 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - val: 124
> > > > 2007-12-03 11:23:28,135 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,135 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,135 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - property: videoFunction
> > > > 2007-12-03 11:23:28,135 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: Number
> > > > 2007-12-03 11:23:28,135 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - val: 1
> > > > 2007-12-03 11:23:28,135 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,135 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,135 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - property: pageUrl
> > > > 2007-12-03 11:23:28,135 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: String
> > > > 2007-12-03 11:23:28,135 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - val:
> > > > http://dev.box/red5_swf/DEV_Deploy/publisher.html
> > > >
> > > > 2007-12-03 11:23:28,136 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,136 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? false
> > > > 2007-12-03 11:23:28,136 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - property: objectEncoding
> > > > 2007-12-03 11:23:28,136 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.object.Deserializer - Datatype: Number
> > > > 2007-12-03 11:23:28,136 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - val: 3
> > > > 2007-12-03 11:23:28,136 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? true
> > > > 2007-12-03 11:23:28,136 [SocketAcceptorIoProcessor-0.0] DEBUG org.red5.io.amf.Input - End of object: ? true
> > > > 2007-12-03 11:23:28,245 [AnonymousIoService-4] DEBUG org.red5.io.object.Serializer - serialize
> > > > 2007-12-03 11:23:28,246 [AnonymousIoService-4] DEBUG org.red5.io.object.Serializer - write basic
> > > > 2007-12-03 11:23:28,246 [AnonymousIoService-4] DEBUG org.red5.io.object.Serializer - serialize
> > > > 2007-12-03 11:23:28,246 [AnonymousIoService-4] DEBUG org.red5.io.object.Serializer - write basic
> > > > 2007-12-03 11:23:28,246 [AnonymousIoService-4] DEBUG org.red5.io.object.Serializer - serialize
> > > > 2007-12-03 11:23:28,246 [AnonymousIoService-4] DEBUG org.red5.io.object.Serializer - write basic
> > > > 2007-12-03 11:23:28,269 [AnonymousIoService-6] DEBUG org.red5.io.object.Serializer - serialize
> > > > 2007-12-03 11:23:28,270 [AnonymousIoService-6] DEBUG org.red5.io.object.Serializer - write basic
> > > > 2007-12-03 11:23:28,270 [AnonymousIoService-6] DEBUG org.red5.io.object.Serializer - serialize
> > > > 2007-12-03 11:23:28,270 [AnonymousIoService-6] DEBUG org.red5.io.object.Serializer - write basic
> > > > 2007-12-03 11:23:28,270 [AnonymousIoService-6] DEBUG org.red5.io.object.Serializer - serialize
> > > > 2007-12-03 11:23:28,270 [AnonymousIoService-6] DEBUG org.red5.io.object.Serializer - write basic
> > > > 2007-12-03 11:23:28,271 [AnonymousIoService-6] DEBUG org.red5.io.object.Serializer - serialize
> > > > 2007-12-03 11:23:28,271 [AnonymousIoService-6] DEBUG org.red5.io.object.Serializer - writeComplex
> > > > 2007-12-03 11:23:28,271 [AnonymousIoService-6] DEBUG org.red5.io.object.Serializer - writeListType
> > > > 2007-12-03 11:23:28,271 [AnonymousIoService-6] DEBUG org.red5.io.object.Serializer - writeArrayType
> > > > 2007-12-03 11:23:28,271 [AnonymousIoService-6] DEBUG org.red5.io.object.Serializer - writeXMLType
> > > > 2007-12-03 11:23:28,307 [pool-5-thread-5] DEBUG org.red5.server.BaseConnection - Close, not connected nothing to do.
> > > >
> > > >
> > > > On the console of Origin :
> > > >
> > > >
> > > > [java] 2007-12-03 12:23:23,047 [pool-5-thread-3] DEBUG org.red5.server.Server - [Server at a33414map['/midiDemo' -> 'default', 'localhost/midiDemo' -> 'default', 'localhost:8088/oflaDemo' -> 'default', '/echo' -> 'default', '127.0.0.1/fitcDemo' -> 'default', 'localhost/oflaDemo' -> 'default', '/oflaDemo' -> 'default', '
> > > > 127.0.0.1/admin' -> 'default', '127.0.0.1:8088/test' -> 'default', '127.0.0.1/tutorial' -> 'default', 'localhost:8088/SOSample' -> 'default', '/SOSample' -> 'default', 'localhost/SOSample' -> 'default', 'localhost/fitcDemo' -> 'default', 'localhost/messageRecorder' -> 'default', 'localhost/test' -> 'default', '/fitcDemo' -> 'default', '127.0.0.1:8088/oflaDemo' -> 'default', 'localhost/tutorial' -> 'default', '
> > > > 127.0.0.1:8088/SOSample' -> 'default', '/adminPanel' -> 'default', 'localhost/admin' -> 'default', '
> > > >
> > > >
> > > > 127.0.0.1:8088/messageRecorder' -> 'default', '/messageRecorder' -> 'default', 'localhost/adminPanel' -> 'default', 'localhost:8088/messageRecorder' -> 'default', 'localhost:8088/adminPanel' -> 'default', 'localhost:8088/test' -> 'default', '192.168.1.2/tutorial' -> 'default', '
> > > > 127.0.0.1:8088/adminPanel' -> 'default', '127.0.0.1/midiDemo' -> 'default', '/admin' -> 'default', '/test' -> 'default']]
> > > >      [java] 2007-12-03 12:23:23,047 [pool-5-thread-3] DEBUG org.red5.server.Server - Check host and path: 192.168.1.9/oflaDemo
> > > >      [java] 2007-12-03 12:23:23,047 [pool-5-thread-3] DEBUG org.red5.server.Server - Check wildcard host with path: /oflaDemo
> > > >      [java] 2007-12-03 12:23:23,047 [pool-5-thread-3] DEBUG org.red5.server.Scope - returning context
> > > >      [java] 2007-12-03 12:23:23,048 [pool-5-thread-3] DEBUG org.red5.server.Scope - Has child scope? oflaDemo in [GlobalScope at bb6086 Depth = 0, Path = '', Name = 'default']
> > > >      [java] 2007-12-03 12:23:23,048 [pool-5-thread-3] DEBUG org.red5.server.Scope - returning context
> > > >      [java] 2007-12-03 12:23:23,048 [pool-5-thread-3] DEBUG org.red5.server.CoreHandler - Connect to core handler ?
> > > >      [java] 2007-12-03 12:23:23,048 [pool-5-thread-3] DEBUG org.red5.server.Scope - returning context
> > > >      [java] 2007-12-03 12:23:23,050 [pool-5-thread-3] DEBUG org.red5.server.Client - Registering connection for this client
> > > >      [java] 2007-12-03 12:23:23,112 [pool-5-thread-3] DEBUG org.red5.server.adapter.MultiThreadedApplicationAdapter - appConnect: RTMPOriginConnection from null:0 to
> > > > 192.168.1.9 (in: 0, out: 0)
> > > >      [java] 2007-12-03 12:23:23,113 [pool-5-thread-3] DEBUG org.red5.server.adapter.MultiThreadedApplicationAdapter - appJoin: Client: 0 >> [WebScope at 1aa5882 Depth = 1, Path = '/default', Name = 'oflaDemo']
> > > >      [java] 2007-12-03 12:23:23,113 [pool-5-thread-3] DEBUG org.red5.server.Scope - returning context
> > > >      [java] 2007-12-03 12:23:23,113 [pool-5-thread-3] DEBUG org.red5.server.Scope - returning context
> > > >      [java] 2007-12-03 12:23:23,161 [pool-5-thread-4] DEBUG org.red5.server.Scope - returning context
> > > >      [java] 2007-12-03 12:23:23,162 [pool-5-thread-4] DEBUG org.red5.server.Scope - returning context
> > > >      [java] 2007-12-03 12:23:23,162 [pool-5-thread-4] DEBUG org.red5.server.Scope - returning context
> > > >      [java] 2007-12-03 12:23:23,162 [pool-5-thread-4] DEBUG org.red5.server.BaseConnection - Close, disconnect from scope, and children
> > > >      [java] 2007-12-03 12:23:23,162 [pool-5-thread-4] DEBUG org.red5.server.adapter.MultiThreadedApplicationAdapter - disconnect: RTMPOriginConnection from null:0 to
> > > > 192.168.1.9 (in: 0, out: 0) << [WebScope at 1aa5882 Depth = 1, Path = '/default', Name = 'oflaDemo']
> > > >      [java] 2007-12-03 12:23:23,162 [pool-5-thread-4] DEBUG org.red5.server.adapter.MultiThreadedApplicationAdapter - appDisconnect: RTMPOriginConnection from null:0 to
> > > > 192.168.1.9 (in: 0, out: 0)
> > > >      [java] 2007-12-03 12:23:23,162 [pool-5-thread-4] DEBUG org.red5.server.adapter.MultiThreadedApplicationAdapter - leave: Client: 0 << [WebScope at 1aa5882 Depth = 1, Path = '/default', Name = 'oflaDemo']
> > > >      [java] 2007-12-03 12:23:23,163 [pool-5-thread-4] DEBUG org.red5.server.adapter.MultiThreadedApplicationAdapter - appLeave: Client: 0 << [WebScope at 1aa5882 Depth = 1, Path = '/default', Name = 'oflaDemo']
> > > >
> > > >
> > > >
> > > > Good luck ! :-)
> > > >
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > Red5 at osflash.org
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Best Regards
> > > Steven Gong
> > >
> > > InfraRed5 Red5 Consultant: http://www.infrared5.com ,
> > > steven at infrared5.com
> > >
> > > Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home
> > > <http://jira.red5.org/confluence/display/%7Esteven/Home>
> > >
> > > Modesty is an overrated quality in men of no great accomplishment.  --
> > > Ricky Jay
> > > _______________________________________________
> > > 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
> >
> >
>
>
> --
> Best Regards
> Steven Gong
>
> InfraRed5 Red5 Consultant: http://www.infrared5.com , steven at infrared5.com
>
> Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home
>
>
> Modesty is an overrated quality in men of no great accomplishment.  --
> Ricky Jay
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071204/26475fd0/attachment-0001.html 


More information about the Red5 mailing list