[Red5commits] [2254] send correct header according to spec at http://osflash.org/documentation/amf/en

jbauch luke at codegent.com
Tue Aug 28 16:20:29 PDT 2007


send correct header according to spec at http://osflash.org/documentation/amf/envelopes/remoting/headers


Timestamp: 08/28/07 18:11:25 EST (less than one hour ago) 
Change: 2254 
Author: jbauch

Files (see diff or trac for details): 
java/server/trunk/swf/DEV_Source/classes/org/red5/samples/echo/EchoTest.as


Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/2254

Index: /java/server/trunk/swf/DEV_Source/classes/org/red5/samples/echo/EchoTest.as
===================================================================
--- /java/server/trunk/swf/DEV_Source/classes/org/red5/samples/echo/EchoTest.as (revision 2253)
+++ /java/server/trunk/swf/DEV_Source/classes/org/red5/samples/echo/EchoTest.as (revision 2254)
@@ -257,5 +257,5 @@
 			nc.connect( url );
 			if ( username_txt.text.length > 0 ) {
-				nc.addHeader("Credentials", false, {username: username_txt.text, password: password_txt.text});
+				nc.addHeader("Credentials", false, {userid: username_txt.text, password: password_txt.text});
 				printText( " (setCredentials)" );
 			}


Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.



More information about the Red5commits mailing list