gnash-dev
[Top][All Lists]
Advanced

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

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


From: George Thomas
Subject: [Gnash-dev] Value in Obj feature in gnash(for i in val)
Date: Mon, 12 Aug 2013 10:07:48 +0530

Hi,

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 ?

Thanks,
George



reply via email to

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