2019-10-05 15:11:03 -05:00
|
|
|
## Configuring Satyr
|
|
|
|
|
|
|
|
### Config file
|
2019-12-21 17:23:00 -06:00
|
|
|
All changes to satyr's config will go in the config/config.yml file
|
2019-10-05 15:11:03 -05:00
|
|
|
Some values you might want to change are
|
|
|
|
```
|
2019-12-21 17:23:00 -06:00
|
|
|
satyr:
|
|
|
|
registration: true
|
2019-12-05 18:37:26 -06:00
|
|
|
# allow new users to register
|
2019-12-21 17:23:00 -06:00
|
|
|
rootRedirect: '/users/live'
|
2019-12-05 18:37:26 -06:00
|
|
|
# the page users are directed to when they visit your site root
|
|
|
|
|
2019-12-21 17:23:00 -06:00
|
|
|
http:
|
|
|
|
hsts: true
|
2019-12-05 18:37:26 -06:00
|
|
|
# enable strict transport security
|
|
|
|
|
2019-12-21 17:23:00 -06:00
|
|
|
media:
|
|
|
|
record: true
|
2019-12-05 18:37:26 -06:00
|
|
|
# allow users to record VODs
|
|
|
|
|
2019-12-21 17:23:00 -06:00
|
|
|
transcode:
|
|
|
|
adapative: true
|
2019-12-05 18:37:26 -06:00
|
|
|
# enable adaptive livestreaming
|
|
|
|
# will help users with poor connections, but EXTREMELY cpu intensive
|
|
|
|
# even 3 variants will max out most budget VPSs with a single stream
|
2019-12-21 17:23:00 -06:00
|
|
|
variants: 3
|
2019-12-05 18:37:26 -06:00
|
|
|
# the number of adaptive streaming variants to generate
|
|
|
|
# satyr will always copy the source stream
|
|
|
|
# and the remaining variants will lower the quality incrementally
|
|
|
|
|
|
|
|
# So the default setting of 3 will copy the source stream once
|
|
|
|
# And generate two lower quality & bitrate variants
|
|
|
|
|
2019-12-21 17:23:00 -06:00
|
|
|
crypto:
|
|
|
|
saltRounds: 12
|
2019-10-05 15:11:03 -05:00
|
|
|
#change the number of rounds of bcrypt to fit your hardware
|
|
|
|
#if you don't understand the implications, don't change this
|
2019-12-05 18:37:26 -06:00
|
|
|
|
2019-12-21 17:23:00 -06:00
|
|
|
irc:
|
|
|
|
port: 6667
|
|
|
|
#irc settings
|
|
|
|
#currently unused
|
2019-10-05 15:11:03 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
### Web Frontend
|
|
|
|
If you want to customize the front-end css, place a file with any changes you wish to make at site/local.css
|
2019-12-05 18:37:26 -06:00
|
|
|
You can change the logo by replacing site/logo.svg.
|
|
|
|
You should also consider editing templates/about.html and templates/tos.html
|