sequoiar / ArcusNode

A RTMFP Rendevouz Service For Peer Assisted Networking With Adobe Flash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ArcusNode

A RTMFP Rendevouz Server For Peer Assisted Networking With Adobe Flash

Author: arcusdev [arcus.node@gmail.com] License: GPL

Description

ArcusNode is an offspring of Cumulus, a standalone C++ implementation of the RTMFP Protocol and much more. ArcusNode aims to assist P2P networking with ease of extendability due to Javascript glue.

Installation

To use ArcusNode as a service, get it from github and run:

$> git submodule init
$> git submodule update
$> node-waf configure build
$> node service.js

You then should see something like:

Starting up ArcusNode RTMFP Service.
Copyright (C) 2011 OpenRTMFP
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
(For usage help type "node service.js -h")
ArcusNode RTMFP Service running at port 1935

1935 is the default port for RTMFP communication.

Usage

As you can see in the service.js, it is very easy to use ArcusNode in your own project.

var ArcusNode = require('./lib/arcus_node.js');
var arcusService = new ArcusNode();
arcusService.run();

ArcusNode already takes a settings object in the constructor, through which later on many customization will be possible, like specifying an authentication callback which gets a username/id and password (can also be a session id), so you can do use your own authentication implementation easily.

Roadmap

To reach version 0.1:

  • Add command line arguments
  • Stabilize the rendezvouz part
  • Implement management cycle
  • Add user authentication through a callback method, given to ArcusNode as a setting
  • Add support for RPCs which can be extended easily with javascript functions
  • Add testing scripts and a Flash testing project
  • Add AMF0 reading and writing

Development

If you have ideas, suggestions, bugfixes or just want to yell a little at the author, feel free to contact arcus.node@gmail.com

© Copyright 2011 OpenRTMFP

About

A RTMFP Rendevouz Service For Peer Assisted Networking With Adobe Flash

License:GNU General Public License v3.0