I am currently recreating a server for an old multiplayers flash game, I have all the php parts of the server reasonably recreated in node.js but the game also used rtfmp to initiate p2p. Not using rtmfp is not an option, do not suggest it. The closest thing I have found is a node module called ArcusNode, and it looks like it would work fine if it didnt have missing modules that seem to be made in c++ that I cant compile no matter how hard I try.
Ive tried complaining arcus on my own pc and was given hundreds of errors in return, I tried compiling it on the server but it seems like it didnt get all the files, Ive looked everywhere for some sort of precompiled version and found nothing. I dont see any other real ways of running an rtmfp server that isnt downloading 10 (ten) malwares off of some random free download now site to get adobe media server 3.5 or some other software that promises the same thing. I dont even know where to begin.
I think ArcusNode is no longer maintained. We have built MonaServer which support RTMFP but how do you implement the client side? For Javascript you should create a new wrapper of a c++ library like librtmfp but it requires time to map the C++ functions to JS.
What about rewriting your code to use WebRTC which is supported by browsers and node.js? This is the new way to go for p2p over the web.