[Red5] BaseRTMPClientHandler patch

Daniel Rossi electroteque at gmail.com
Mon Nov 3 18:07:07 PST 2008


You can ovveride the params setup in an extended class, here is what  
i've done with it

http://red5.electroteque.org/dev/bench/RTMPClientExtended.zip

On 04/11/2008, at 4:12 AM, Mondain wrote:

> Patched at r3322
>
> On Mon, Nov 3, 2008 at 8:56 AM, Prabhu Tamilarasan (omNovia) <ptamilarasan at omnovia.com 
> > wrote:
> Here is a small patch to fix connecting from one Red5 server to  
> another using RTMPClient.  For some reason in one of the overloaded  
> connect functions the objectEncoding is added as a double and there  
> is an error later in onInvoke trying to cast the objectEncoding to  
> int.
>
>
> # svn diff BaseRTMPClientHandler.java
>
> Index: BaseRTMPClientHandler.java
>
> ===================================================================
>
> --- BaseRTMPClientHandler.java  (revision 3321)
>
> +++ BaseRTMPClientHandler.java  (working copy)
>
> @@ -271,7 +271,7 @@
>
>                 this.connectArguments = connectCallArguments;
>
>
>                 if (!connectionParams.containsKey("objectEncoding")) {
>
> -                       connectionParams.put("objectEncoding",  
> (double) 0);
>
> +                       connectionParams.put("objectEncoding", (int)  
> 0);
>
>                 }
>
>
>                 this.connectCallback = connectCallback;
>
>
>
>
> next generation web conferencing
>
> Prabhu Tamilarasan
> Senior Software Engineer
>
> 675 Bering Drive, Suite 290
> Houston, TX 77057 USA
> www.omnovia.com
>
> ptamilarasan at omnovia.com
>
> T +1.281.500.4065 x 731
>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
>
> -- 
> http://gregoire.org/
> http://osflash.org/red5
> _______________________________________________
> 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/20081104/b07952f1/attachment.html>


More information about the Red5 mailing list