Autizmo Movie Night https://movie-night.autizmo.xyz
Go to file
Zorchenhimer 382b03b430 Remove anonymous functions in handler definitions
handlePublish, handlePlay, and handleDefault have been added in
handlers.go and removed as anonymous functions in main.go.  This also
required moving some struct and variable definitions around a bit.
2019-03-12 12:39:23 -04:00
static Fix layout for title and reload player button 2019-03-12 12:23:07 -04:00
wasm Converted to code to using webassembly 2019-03-11 23:15:42 -04:00
.gitignore Converted to code to using webassembly 2019-03-11 23:15:42 -04:00
Makefile Converted to code to using webassembly 2019-03-11 23:15:42 -04:00
chatclient.go Fix formatLinks() not working 2019-03-11 15:41:41 -04:00
chatcommands.go Write the /help command 2019-03-11 12:06:45 -04:00
chatroom.go Converted to code to using webassembly 2019-03-11 23:15:42 -04:00
errors.go Converted to code to using webassembly 2019-03-11 23:15:42 -04:00
handlers.go Remove anonymous functions in handler definitions 2019-03-12 12:39:23 -04:00
main.go Remove anonymous functions in handler definitions 2019-03-12 12:39:23 -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 stream key loading 2019-03-11 23:45:23 -04:00
settings_example.json Add stream key and listen address to settings.json 2019-03-11 23:05:01 -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")