MovieNight/readme.md

64 lines
1.2 KiB
Markdown
Raw Normal View History

# MovieNight stream server
2019-03-17 03:34:55 +01:00
[![Build status](https://api.travis-ci.org/zorchenhimer/MovieNight.svg?branch=master)](https://travis-ci.org/zorchenhimer/MovieNight)
2019-03-17 02:57:41 +01:00
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:
2019-03-21 04:50:18 +01:00
```bash
2019-03-21 19:06:06 +01:00
$ go get -u -v github.com/zorchenhimer/MovieNight
$ cd $GOROOT/src/zorchenhimer/MovieNight
$ make
$ cp settings_example.json settings.json
2019-03-21 19:06:06 +01:00
$ MovieNight -l :8089 -k longSecurityKey
```
## Usage
Now you can use OBS to push a stream to the server. Set the stream URL to
2019-03-21 04:50:18 +01:00
```text
rtmp://your.domain.host/live
```
2019-03-21 04:50:18 +01:00
and enter the stream key.
Now you can view the stream at
```text
http://your.domain.host:8089/
```
2019-03-17 07:01:13 +01:00
There is a video only version at
```text
http://your.domain.host:8089/video
```
and a chat only version at
```text
http://your.domain.host:8089/chat
```
The default listen port is `:8089`. It can be changed by providing a new port
at startup:
```text
Usage of .\MovieNight.exe:
-k string
Stream key, to protect your stream
-l string
host:port of the MovieNight (default ":8089")
```