Just a moment ago I uploaded version 0.1 of my HydraP2P library to github. You can find it here.
HydraP2P is an ActionScript 3 library, aiming to simplify the peer-to-peer API introduced in Flash Player 10.1 and derived from my AS3-P2P-LIB, which has now been replaced by HydraP2P.
The main problem with AS3-P2P-LIB was that I didn’t have enough time to create a stable version, refactor code or write a tutorial on how to use it.
Working on a peer-to-peer project the last days, I finally found the time to restructure and simplify the code so it won’t be that hard anymore to get into it.
What are the features?
The current version just supports a subset of possible features provided by Flash Player API,
but will be extended step by step to fulfill the needs of application development.
As its architecture is pretty simple, yet extendable, it should be an easy deal to extend it yourself.
Here are the current features:
Handles connection to the stratus service
Channel based system, to split up peer-to-peer communication into different channels, rather than filtering in one
Typed command system – no parsing of objects or arrays outside of the API
User tracking-system provides information about all connected users on a per channel level
A simple chat-system is already included in the source package
Features that are going to be implemented in the near future:
Object-replication channel to handle file transfers via peer-to-peer
Streaming channel to provide video and audio streams