Just confirmed that my VPS supports nginx and rtmp yesterday, so I went and digged out my ancient code of EasyRTMP, tried to re-compile it.
Codes of DVR & RTP streams relay mode are lost in my previous disaster of hard disk broken at last year which caused the lost of almost my 10+ years of coding expirence(tragic,isn’t it, so now have two mobile hard disks to backup all my data).
However, the remain code of EasyRTMP worked for captured video from webcam.
The current version supports only video(H.264), not for audio, and now I’ve got my VPS worked for RTMP stream, maybe I will re-pick it up, and try make it work for both video and audio.
I’ll take it for consideration, but I need time to implement it.
Here is the latest version of EasyRTMP with source code I still have, http://rg4.net/easyrtmp.
You can download it, run it after extracted it, make it start, then open a browser and navigate to http://live.rg4.net/easyrtmp.
It should work for you, but try not test it long, because my VPS has its limitation in traffic, and bandwidth too, if you want test it long, you should build an nginx + nginx-rtmp-module environemnt for yourself, to do that, you can follow this guild: http://rg4.net/archives/1473.html.