etomahawk / haxevideo

Automatically exported from code.google.com/p/haxevideo
0 stars 0 forks source link

Flash 10 not supported #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using flash 10 as client, I got on server side:

Called from haxe/io/Input.hx line 230
Called from format/Rtmp.hx line 126
Called from hxvid/Client.hx line 604
Called from hxvid/Server.hx line 36
Called from hxvid/RealtimeServer.hx line 283
Called from hxvid/RealtimeServer.hx line 142[2010-07-14 21:36:18] Overflow

Every command send to neko server from client causes the same exception.

Original issue reported on code.google.com by mlodzianck on 14 Jul 2010 at 7:39

GoogleCodeExporter commented 9 years ago
the line 126 of Rtmp.hx is :

var ping = i.readUInt30();

and the value of ping is never used below
so I've replaced with :

try
{
    var ping = i.readUInt30();
}
catch(e : Dynamic){}

and it's worked for me. This is disgusting but working.
If someone have a cleaner / cleaver solution ...

Original comment by corb...@gmail.com on 27 Sep 2011 at 1:55

GoogleCodeExporter commented 9 years ago
It's been already fixed on SVN, by using the following :

var ping = i.readInt32();

Original comment by ncanna...@gmail.com on 27 Sep 2011 at 1:59