Gabz wrote:
you have to set the default object encoding to AMF0, here is a helper subclass which works fine for me.Hi! This code is in AS2.0, this works with Red5: public class Connect extends NetConnection { private var code:String; private var _autoBandwidthDetection:Boolean = false; public function Connect(encodeAMF0:Boolean = true) { setDefaultEncoding(encodeAMF0); super(); } private function setDefaultEncoding(encodeAMF0:Boolean = true):void { if (encodeAMF0) { this.objectEncoding = flash.net.ObjectEncoding.AMF0; } else { this.objectEncoding = flash.net.ObjectEncoding.DEFAULT; } } } |
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
