Autizmo Movie Night
https://movie-night.autizmo.xyz
72a44b6170
Removed the Darwin and Windows specific build targets. Instead, the system's build target will be used (as specified with the GOOS and GOARCH environment variables). Added a "server" build target. This is mostly just for me to build the binary that will be deployed on my own server. Added the GO_VERSION environment variable to all the calls to the go command. This will allow easier building on systems that have installed an additional version of Go along side their distribution's version. Users wanting to build with one of these versions must first install it with `go get` and `go[version] download` as detailed here: https://golang.org/doc/install#extra_versions. Setting the GO_VERSION environment variable to the version number will use that version. Eg, setting it to "1.13.7" will call `go1.13.7 build [...]` instead of `go build [...]`. |
||
---|---|---|
common | ||
static | ||
wasm | ||
.gitignore | ||
.travis.yml | ||
Makefile | ||
chatclient.go | ||
chatclient_test.go | ||
chatcommands.go | ||
chatroom.go | ||
connection.go | ||
emotes.go | ||
errors.go | ||
favicon.png | ||
go.mod | ||
go.sum | ||
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:
$ git clone https://github.com/zorchenhimer/MovieNight
$ cd MovieNight
$ make
$ ./MovieNight
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")