Autizmo Movie Night
https://movie-night.autizmo.xyz
d102d0c5ed
Merge in the room access restrictions changes into master. Currently, only the PIN/Password method is implemented, and it's not all that secure. Some more work needs to be done in planning before really moving forward, but this should be fine for now. Issue #28 should not be considered finished with this merge. |
||
---|---|---|
common | ||
static | ||
wasm | ||
.gitignore | ||
.travis.yml | ||
Makefile | ||
chatclient.go | ||
chatclient_test.go | ||
chatcommands.go | ||
chatroom.go | ||
connection.go | ||
emotes.go | ||
errors.go | ||
favicon.png | ||
handlers.go | ||
main.go | ||
notes.txt | ||
readme.md | ||
settings.go | ||
settings_example.json | ||
stats.go |
readme.md
MovieNight stream server
This is a single-instance streaming server with chat. Originally written to replace Rabbit as the platform for watching movies with a group of people online.
Build requirements
- Go 1.12 or newer
- GNU Make
Install
To just download and run:
$ go get -u -v github.com/zorchenhimer/MovieNight
$ cd $GOROOT/src/zorchenhimer/MovieNight
$ make
$ cp settings_example.json settings.json
$ MovieNight -l :8089 -k longSecurityKey
Usage
Now you can use OBS to push a stream to the server. Set the stream URL to
rtmp://your.domain.host/live
and enter the stream key.
Now you can view the stream at
http://your.domain.host:8089/
There is a video only version at
http://your.domain.host:8089/video
and a chat only version at
http://your.domain.host:8089/chat
The default listen port is :8089
. It can be changed by providing a new port
at startup:
Usage of .\MovieNight.exe:
-k string
Stream key, to protect your stream
-l string
host:port of the MovieNight (default ":8089")