MonaSolutions / MonaServer2

Temporary project planned to replace MonaServer
GNU General Public License v3.0
264 stars 37 forks source link

Unix setup | Windows setup | macOS setup | MonaTiny | Docker | Documentation | About

MonaServer

Temporary project planned to replace MonaServer.

MonaServer is a lightweight web and media server customizable by LUA script applications. MonaServer supports currently following protocols:

MonaServer supports advanced features for the following media containers:

Start MonaServer developments by reading the documentation

Unix setup

Requirements

Build

Download or clone MonaServer sources and compile everything simply with make:

git clone https://github.com/MonaSolutions/MonaServer2.git
cd MonaServer2
make

To enable SRT Protocol define ENABLE_SRT variable

make ENABLE_SRT=1

Start

Start executable :

cd MonaServer
./MonaServer

Windows setup

Binaries

A Windows 32-bit and a Windows 64-bit zipped packages are provided to test MonaServer. However we recommend to build the github version from the sources for production use.

Requirements

Note: OpenSSL and LuaJIT dependencies are already included in the project.

Build

Download or clone MonaServer sources, open Mona.sln project file with Visual Studio, right clic on MonaServer project and clic on Build.

Start

Start MonaServer by selecting MonaServer project and pressing F5.

macOS setup

Requirements

First, install homebrew :

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then install openssl :

brew install openssl

Build & Start

See Unix setup Build and Start chapters

MonaTiny

MonaTiny is a version of MonaServer without LUA script applications. Setup is identical excepting that there is no LuaJIT dependency, just start executable file ./MonaTiny/MonaTiny

Docker

A Docker image is available on Docker Hub with the name monaserver/monaserver. See more at https://github.com/MonaSolutions/docker-mona

To run monaserver in Docker use the following command :

docker run --rm -it --name=mona -p 80:80 -p 443:443 -p 1935:1935 -p 1935:1935/udp monaserver/monaserver

Documentation

About

Asks your questions or feedbacks relating MonaServer usage on the MonaServer forum.

For all issues with MonaServer please create an issue on the github issues page.

MonaServer is licensed under the GNU General Public License and mainly powered by Haivision, for any commercial questions or licence please contact us at contact_mail.