[osflash] Red5 - Flash RemoteObject
Chris Allen
mrchrisallen at gmail.com
Mon Nov 12 12:20:53 PST 2007
Hey Nathan,
Try sending this question to the dedicated Red5 list:
http://osflash.org/mailman/listinfo/red5_osflash.org
Also when you do, provide the version of Red5 that you are running. I
know that support for the RemoteObject is a fairly new feature. I'm
also quite certain that echo test actualy has an example of using it.
Good luck!
-Chris
On Nov 9, 2007 5:04 PM, Nathan Sevugan <nathansevugan at hotmail.com> wrote:
>
>
> Red5 is totally new to me and i have been trying to get the echo service
> working from a simple Flash client using RemoteObjects.
>
> Successful Attempts
> I started out with simple rtmp connection using NetConnections in flash to
> connect to the Red5 Server. This worked.
>
>
> Failed Attempt
> 1. Changed the mxml example to use RemoteObjects
>
> <mx:RemoteObject id="echoService" destination="Red5Echo"
> endpoint="//localhost:5080/echo"
> showBusyCursor="true" >
> <mx:method name="echo" />
> </mx:RemoteObject>
>
> 2. Added the following to c:\java\Red5\webapps\echo\red5-web.xml
>
> <bean id="flexMessaging.service"
> class="org.red5.server.net.remoting.FlexMessagingService"
> singleton="true">
> <property name="serviceInvoker" ref="global.serviceInvoker"
> />
> <!-- add an entry for all possible "destination" attributes
> of your
> mx:RemoteObject sources -->
> <property name="endpoints">
> <map>
> <entry key="Red5Echo">
> <!-- object that handles requests
> sent to this endpoint -->
> <ref bean="web.handler" />
> </entry>
> </map>
> </property>
> </bean>
>
> My flex application does not work. Are there any settings that i am missing?
> Is my remote object creation in flex wrong? I would appreciate examples or
> any help with this.
>
>
> Thanks
> Nathan
>
>
>
>
> ________________________________
> Peek-a-boo FREE Tricks & Treats for You! Get 'em!
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
More information about the osflash
mailing list