List Info

Thread: Experimental AMF3 support available!




Experimental AMF3 support available!
user name
2006-12-21 01:44:59
Hi guys,

the trunk now supports experimental AMF3 support. Several
data types
are still missing, but the base has been done. The green
light,
method calls and streaming works as far as I have tested
them 

For testing, I'm using the fmsmusic[1] example from the Flex
cookbook
beta, disabled the AMF0 object-encoding on the NetConnection
and
used my local Red5 to connect to.

KNOWN TO NOT WORK:
- Arrays
- Custom objects
- References
- SharedObjects (might work but not tested)

Joachim

[1]
http://w
ww.adobe.com/cfusion/communityengine/index.cfm?event=showdet
ails&productId=2&postId=1561

_______________________________________________
Red5devs mailing list
Red5devsosflash.org
http://osflash.org/mailman/listinfo/red5devs_osflash.org

Experimental AMF3 support available!
user name
2006-12-21 01:48:18



KNOWN TO NOT WORK:
- Arrays

Does this mean arrayLists *do* work? And are arrays far off from working? This is exciting because it might allow my to dump FDS from my current work.


Regards,
Hank

Experimental AMF3 support available!
user name
2006-12-21 01:52:53
It's amazing!~~~

On 12/21/06, Joachim Bauch < jojostruktur.de">jojostruktur.de> wrote:
Hi guys,

the trunk now supports experimental AMF3 support. Several data types
are still missing, but the base has been done. The green light,
method calls and streaming works as far as I have tested them

For testing, I'm using the fmsmusic[1] example from the Flex cookbook
beta, disabled the AMF0 object-encoding on the NetConnection and
used my local Red5 to connect to.

KNOWN TO NOT WORK:
- Arrays
- Custom objects
- References
- SharedObjects (might work but not tested)

Joachim

[1]
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&amp;productId=2&postId=1561

_______________________________________________
Red5devs mailing list
Red5devsosflash.org"> Red5devsosflash.org
http://osflash.org/mailman/listinfo/red5devs_osflash.org



--
I cannot tell why this heart languishes in silence. It is for small needs it never asks, or knows or remembers.  ;-- Tagore

Best Regards
Steven Gong
Experimental AMF3 support available!
user name
2006-12-21 02:07:30
Hi Hank,

hank williams schrieb:
> Does this mean arrayLists *do* work? And are arrays far
off from
> working? This is exciting because it might allow my to
dump FDS from my
> current work.

arrayLists do *not* work (yet). Everything that's currently
not working
should not be too hard to add, I just need some sleep before
continuing
to work on the code ;)

To replace FDS, the public API of FDS needs to be
implemented in Red5,
right? My work on AMF3 currently only covers the lowlevel
protocol which
is a bit different from AMF0 (what Flash and FCS/FMS use).

The serializer supports the simple types (null, boolean,
numbers,
strings), objects (without classnames), dates and xml
strings but
not the AMF3 types 0x07 (xml) 0x09 (array). The deserializer
only
supports the simple types. Basically these are the types
that were
necessary to make the fmsmusic example work so I added them
first ;)

If someone can provide me a Flex example that uses all the
different
object types, that will help finishing the codec at lot...

Joachim


_______________________________________________
Red5devs mailing list
Red5devsosflash.org
http://osflash.org/mailman/listinfo/red5devs_osflash.org

Experimental AMF3 support available!
user name
2006-12-21 02:24:08


On 12/20/06, Joachim Bauch < jojostruktur.de">jojostruktur.de> wrote:
Hi Hank,

hank williams schrieb:
&gt; Does this mean arrayLists *do* work? And are arrays far off from
> working? This is exciting because it might allow my to dump FDS from my
> current work.

arrayLists do *not* work (yet). Everything that's currently not working
should not be too hard to add, I just need some sleep before continuing
to work on the code ;)

To replace FDS, the public API of FDS needs to be implemented in Red5,
right? My work on AMF3 currently only covers the lowlevel protocol which
is a bit different from AMF0 (what Flash and FCS/FMS use).

Yeah, there is a configuration XML file that maps remote object calls to specific java calls. In thinking about it, there is a fair bit of work to be fully compatible with the remoteObject.

Hank

Experimental AMF3 support available!
user name
2006-12-21 04:15:39
Joachim,

You are the man! Thanks for putting this together. I will
try to
organize getting you a Flex application that tests all the
data types.
It seems like it won't be too hard to put together.

-Chris

On 12/20/06, Joachim Bauch <jojostruktur.de> wrote:
> Hi guys,
>
> the trunk now supports experimental AMF3 support.
Several data types
> are still missing, but the base has been done. The
green light,
> method calls and streaming works as far as I have
tested them 
>
> For testing, I'm using the fmsmusic[1] example from the
Flex cookbook
> beta, disabled the AMF0 object-encoding on the
NetConnection and
> used my local Red5 to connect to.
>
> KNOWN TO NOT WORK:
> - Arrays
> - Custom objects
> - References
> - SharedObjects (might work but not tested)
>
> Joachim
>
> [1]
> http://w
ww.adobe.com/cfusion/communityengine/index.cfm?event=showdet
ails&productId=2&postId=1561
>
> _______________________________________________
> Red5devs mailing list
> Red5devsosflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org

>

_______________________________________________
Red5devs mailing list
Red5devsosflash.org
http://osflash.org/mailman/listinfo/red5devs_osflash.org

Experimental AMF3 support available!
user name
2006-12-22 00:49:13
Hi Joachim,

If someone can provide me a Flex example that uses all the different
object types, that will help finishing the codec at lot...

I tried this [1] tool and changed the encoding type to AMF3 but the flash debugger and red5 give weird errors when I try to publish or play files. I'm using revision 1596. I'm working on a cairngorm version of that tool, when it's ready i'll release the source and if you want you can add it to the demos for red5. Here's some of the flash and red5 errors:

RangeError: Error #2006: The supplied index is out of bounds.
Error: Error #2030: End of file was encountered.

[java] [WARN] 330913 pool-1-thread-8:( org.red5.server.net.rtmp.RTMPHandler.warn ) Unhandled ping: Ping: 3, 0, 100, -1
[java] 00 03 00 00 00 00 00 00 00 64 


Thijs

[1] http://www.red5.nl/tools/publisher
[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )