Recommended server: $5/mo Digital Ocean server running Ubuntu 14.04 x64.
TODO:
- Test with latest version of Ubuntu.
- Make initial setup nless annoying.
- Make setup script less horrifyingly hacky.
- Make nginx set up as a proper daemon, since we (unfortunately) have to compile it from source for this.
Run ./nginx-rtmp.sh && sudo /usr/local/nginx/sbin/nginx
. You're done.
Use Open Broadcaster Software. Settings dialog -> Broadcast Settings, set the following:
- Mode: Live Stream
- Streaming Service: Custom
- FMS URL: rtmp:///live
- Play Path/Stream Key:
can be whatever you want -- this is simply a unique identifier for the stream. You'll want to make note of the path you use, so you can use it in the client.
In VLC, Media -> Open Network Stream (Ctrl+N), enter "rtmp:///live/", click Play.