Autizmo Movie Night https://movie-night.autizmo.xyz
Go to file
Zorchenhimer 28d43a726a Add Mod notice messages
These messages are only sent to mods and admins for certain events:
- User gains mod/admin privileges
- User attempts to gain mod/admin privileges unsuccessfully
- Mod/Admin uses the /sv command
- Mod/Admin uses the /playing command
- Mod unmods themselves
- Mod/Admin mods/unmods a user
- Mod/Admin uses the /reloademotes command
- Mod/Admin uses the /reloadplayer command

A separate message queue is used for these messages, and they are only
sent to clients that are either a mod or an admin.  They are sent
with the same call to ChatRoom.Broadcast(), but after all the normal
messages are sent.

Resolves #3
2019-03-15 16:03:31 -04:00
common Add Mod notice messages 2019-03-15 16:03:31 -04:00
static Add Mod notice messages 2019-03-15 16:03:31 -04:00
wasm Add some backend infrastructure 2019-03-15 02:19:16 -04:00
.gitignore Converted to code to using webassembly 2019-03-11 23:15:42 -04:00
Makefile Merge branch 'json-communication' 2019-03-13 14:00:13 -04:00
chatclient.go Add some backend infrastructure 2019-03-15 02:19:16 -04:00
chatcommands.go Add Mod notice messages 2019-03-15 16:03:31 -04:00
chatroom.go Add Mod notice messages 2019-03-15 16:03:31 -04:00
errors.go Converted to code to using webassembly 2019-03-11 23:15:42 -04:00
handlers.go Add some backend infrastructure 2019-03-15 02:19:16 -04:00
main.go Add some backend infrastructure 2019-03-15 02:19:16 -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.go Fix some linting errors with error messages 2019-03-14 15:19:36 -04:00
settings_example.json Update example settings file 2019-03-13 15:28:34 -04:00

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

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