Autizmo Movie Night https://movie-night.autizmo.xyz
Go to file
Zorchenhimer fdbf39f00c Add some logging
Functions added:
- LogErrorf()
- LogErrorln()
- LogChatf()
- LogChatln()
- LogInfof()
- LogInfoln()
- LogDebugf()
- LogDebugln()
- LogDevf()
- LogDevln()

New settings configure the logging: LogLevel and LogFile.  LogLevel can
be set to one of: error, chat, info, or debug and will default to
error.  LogFile is an optional file to write to.  Providing a file will
not prevent output in the console.

LogDevf() and LogDevln() only compile when the "dev" flag passed to
build.  This will cause Travis-CI to fail the build if it finds any
calls to either function.
2019-03-24 18:58:59 -04:00
common Add some logging 2019-03-24 18:58:59 -04:00
static Add color checking and removed autoreconnect 2019-03-23 15:37:48 -04:00
wasm Change auth level checking to be on command level 2019-03-24 17:27:04 -04:00
.gitignore Add some logging 2019-03-24 18:58:59 -04:00
.travis.yml Update build scripts 2019-03-16 22:24:35 -04:00
Makefile Add some logging 2019-03-24 18:58:59 -04:00
chatclient.go Add some logging 2019-03-24 18:58:59 -04:00
chatcommands.go Add some logging 2019-03-24 18:58:59 -04:00
chatroom.go Add some logging 2019-03-24 18:58:59 -04:00
connection.go Add some logging 2019-03-24 18:58:59 -04:00
errors.go Add more information to error output 2019-03-15 18:57:12 -04:00
favicon.png Replace favicon with something else 2019-03-18 11:21:17 -04:00
handlers.go Add some logging 2019-03-24 18:58:59 -04:00
main.go Add some logging 2019-03-24 18:58:59 -04:00
notes.txt Initial commit 2019-03-10 11:42:12 -04:00
readme.md Remove vscode setup section and rename main_wasm.go back to main.go 2019-03-21 21:34:16 -04:00
settings.go Add some logging 2019-03-24 18:58:59 -04:00
settings_example.json Add a limit to the title length 2019-03-16 21:06:16 -04:00
stats.go Add stream stats, minor changes in main, and adding ctrl+c handling 2019-03-21 16:20:50 -04:00

readme.md

MovieNight stream server

Build status

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

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