Autizmo Movie Night https://movie-night.autizmo.xyz
Go to file
joeyak 5554780438 More cleanup and organizing of code to ease with readability
move encode funcs to be with structs
moved constants to a separate file
2019-03-14 23:13:42 -04:00
common More cleanup and organizing of code to ease with readability 2019-03-14 23:13:42 -04:00
static Break long words across lines in chat 2019-03-13 15:11:04 -04:00
wasm Add infrastructure for the client to send formatted data to the server 2019-03-14 15:21:53 -04:00
.gitignore Converted to code to using webassembly 2019-03-11 23:15:42 -04:00
chatclient.go Add infrastructure for the client to send formatted data to the server 2019-03-14 15:21:53 -04:00
chatcommands.go Fixed printing the combined commands 2019-03-14 15:09:55 -04:00
chatroom.go Fix some linting errors with error messages 2019-03-14 15:19:36 -04:00
errors.go Converted to code to using webassembly 2019-03-11 23:15:42 -04:00
handlers.go Add infrastructure for the client to send formatted data to the server 2019-03-14 15:21:53 -04:00
main.go Allow chat to be sent before the name is sent to the server 2019-03-13 16:47:19 -04:00
Makefile Merge branch 'json-communication' 2019-03-13 14:00:13 -04:00
notes.txt Initial commit 2019-03-10 11:42:12 -04:00
readme.md Update readme 2019-03-11 17:10:15 -04:00
settings_example.json Update example settings file 2019-03-13 15:28:34 -04:00
settings.go Fix some linting errors with error messages 2019-03-14 15:19:36 -04:00

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

MovieNight  -l :8089 -k longSecurityKey

To download and compile for development:

git clone github.com/zorchenhimer/MovieNight
cd MovieNight
make
./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/

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")