gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] Value in Obj feature in gnash(for i in val)


From: Sandro Santilli
Subject: Re: [Gnash-dev] Value in Obj feature in gnash(for i in val)
Date: Mon, 12 Aug 2013 16:38:17 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Aug 12, 2013 at 10:07:48AM +0530, George Thomas wrote:
> A code snippet like the one that follows does not give any output in gnash
> when the swf is run.
> 
> for (val in netStream) {
> 
>         trace (val + "=" + netStream[val]);
> }
> 
> The same piece of code when run with properietry player gives the ouput
> 
> audiocodec=0
> videocodec=0
> decodedFrames=0
> bytesTotal=0
> bytesLoaded=0
> liveDelay=0
> bufferLength=0
> bufferTime=0
> currentFps=0
> time=0
> 
> In gnash however :
> 
>         check_equals ( typeof(netStream.bytesTotal), 'number' );
>         check_equals ( typeof(netStream.bytesLoaded), 'number' );
> 
>         // bufferLength (read-only)
>         check_equals ( typeof(netStream.bufferLength), 'number' );
>         check_equals ( typeof(netStream.bufferTime), 'number' );
>         check_equals ( typeof(netStream.currentFps), 'number' );
>         check_equals ( typeof(netStream.time), 'number' );
> 
> passes in both gnash and the properietry player.
> 
> So is this a known issue in gnash or does this require a new bug ?

I think it's worth a new bug. In particular, the
actionscript.all/NetStream.as file has no expected failures, so needs
some ...

--strk;



reply via email to

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