gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] NetConnection And NetStream


From: George Thomas
Subject: Re: [Gnash-dev] NetConnection And NetStream
Date: Wed, 20 Feb 2013 20:48:47 +0530



On Wed, Feb 20, 2013 at 1:22 AM, Sandro Santilli <address@hidden> wrote:
On Wed, Feb 20, 2013 at 12:07:25AM +0530, George Thomas wrote:
> Hi,
>
> The TODO list in Gnash specifies partially implemented NetConnection and
> NetStream classes in Gnash.
> I understood these classes to be the NetConnection and NetStream classes in
> (libcore/asobj)
>
> Could someone let me know what is to be done to get these classes complete.

You can see NetConnection.as and NetStream.as in testsuite/actionscript.all/
Known failures are encoded with xcheck and xcheck_equals.
If you handle to fix the code you'll get XPASS lines when you run
the resulting *.swf files with gprocessor or gnash -v.


xcheck and xcheck_equals are absent in NetConnection.as
Does this mean NetConnection is complete ?

Found only a line  with xfail in this. Is this ok to be a failure or should this be fixed ? 

// test the NetConnection::connect method                                     
if ( ! tmp.connect("rtmp://www.mediacollege.com/flash/media-player/testclip-4sec.flv") )                                                                     
{
        // FIXME: this would fail in the reference player too...              
        xfail("NetConnection::connect() didn't initialize correctly");        
}

I was able to find a lot of opportunities (xchecks) in NetStream.as

 
I'm sure more tests would be needed to really tell how to fix what.

--strk;

Should the additional test cases be added based on docs specified for as2 ?
http://docs.brajeshwar.com/as2/NetConnection.html
Or should it based on the rtmp specification document ?

-George-

reply via email to

[Prev in Thread] Current Thread [Next in Thread]