73 lines
2.2 KiB
Bash
73 lines
2.2 KiB
Bash
#!/bin/sh
|
|
|
|
# There are two typical installation scenarios.
|
|
# If you want to run in a container, choose docker and alpine below!
|
|
# If you want to directly install on your system, choose host and debian!
|
|
|
|
# Containerization to use
|
|
# docker - Use Docker container to run the installation
|
|
# host - Install directly on host (your) system (run as root in this case)
|
|
EL_CONTAINER="docker"
|
|
|
|
# Linux distribution family to install on
|
|
# alpine - Alpine Linux for making small containers
|
|
# debian - Any Debian-based system, including Ubuntu and derivatives
|
|
EL_OS="alpine"
|
|
|
|
# Container name in case of using Docker
|
|
EL_CONTAINERNAME="eltelive"
|
|
|
|
# Site Domain Name
|
|
EL_DOMAINNAME="localhost"
|
|
|
|
|
|
# Authentication type for publishers (basic, pam)
|
|
# You have to authenticate your publishers
|
|
# basic - Use password file
|
|
# pam - Use PAM subsystem, give PAM service name to use
|
|
EL_PUBLISHERAUTH="basic"
|
|
|
|
# Authentication message for publishers
|
|
EL_PUBLISHERAUTHMESSA="Lecturer account required"
|
|
|
|
EL_PUBLISHERAUTHFILE="publisher.passwd"
|
|
EL_PUBLISHERAUTHSERVICE="stream_publisher"
|
|
|
|
# Authentication type for viewers (off, basic, pam)
|
|
# off - Content will be open for everyone
|
|
# basic - Use password file
|
|
# pam - Use PAM subsystem, give PAM service name to use
|
|
EL_VIEWERAUTH="off"
|
|
|
|
# Authentication message for viewers
|
|
EL_VIEWERAUTHMESSA="Account required"
|
|
|
|
EL_VIEWERAUTHFILE="viewer.passwd"
|
|
EL_VIEWERAUTHSERVICE="stream_viewer"
|
|
|
|
# Authenticate everywhere or only in archive (not live)
|
|
# all - Ask password for every viewer content
|
|
# archive - Ask password for only archive
|
|
EL_ARCHIVEAUTH="all"
|
|
|
|
|
|
# SSL Certificate to be used in PEM format (leave empty to use snakeoil)
|
|
EL_SSLCERTIFICATE=""
|
|
|
|
# SSL Secret Key to be used in PEM format (leave empty to use snakeoil)
|
|
EL_SSLSECRETKEY=""
|
|
|
|
|
|
# Set these to your CPU strength!
|
|
# See x264 and x265 presets: ultrafast, superfast, veryfast, faster, fast, medium
|
|
# for live into H.264, do not go above medium
|
|
EL_LIVEVIDEOPRESET="ultrafast"
|
|
EL_LIVEVIDEOLQPRESET="ultrafast"
|
|
|
|
# for saving at the end into H.265, mkv
|
|
EL_SAVEDVIDEOPRESET="ultrafast"
|
|
|
|
|
|
# VideoJS version to be downloaded
|
|
EL_VIDEOJS_VERSION="https://github.com/videojs/video.js/releases/download/v7.8.4/video-js-7.8.4.zip"
|