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!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to