Skip to content

rozhuk-im/msd_lite

Repository files navigation

msd_lite

Build-macOS-latest Actions Status Build-Ubuntu-latest Actions Status

Rozhuk Ivan [email protected] 2011 - 2023

msd_lite - Multi stream daemon lite. This lightweight version of Multi Stream daemon (msd) Program for organizing IP TV streaming on the network via HTTP.

Licence

BSD licence. Website: http://www.netlab.linkpc.net/wiki/en:software:msd:lite

Donate

Support the author

  • GitHub Sponsors: "GitHub Sponsors"
  • Buy Me A Coffee: "Buy Me A Coffee"
  • PayPal: PayPal
  • Bitcoin (BTC): 1AxYyMWek5vhoWWRTWKQpWUqKxyfLarCuz

Features

  • Open source
  • BSD License
  • No deadlocks threads during operation
  • Receiving only udp-multicast, including rtp streams
  • Not available options URL: precache and blocksize
  • Zero Copy on Send (ZCoS) is always on
  • No polling to send out to clients fUsePollingForSend
  • No analyzer MPEG2-TS stream, and “smart” shipping MPEG2-TS header new clients

Compilation and Installation

sudo apt-get install build-essential git cmake fakeroot
git clone --recursive https://github.com/rozhuk-im/msd_lite.git
cd msd_lite
mkdir build
cd build
cmake ..
make -j 8

Run tests

mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTS=1 ..
cmake --build . --config Release -j 16
ctest -C Release --output-on-failure -j 16

Usage

msd_lite [-d] [-v] [-c file]
       [-p PID file] [-u uid|usr -g gid|grp]
 -h           usage (this screen)
 -d           become daemon
 -c file      config file
 -p PID file  file name to store PID
 -u uid|user  change uid
 -g gid|group change gid
 -v           verboce

Setup

msd_lite

Copy %%ETCDIR%%/msd_lite.conf.sample to %%ETCDIR%%/msd_lite.conf then replace lan0 with your network interface name. Add more sections if needed. Remove IPv4/IPv6 lines if not needed.

Add to /etc/rc.conf:

msd_lite_enable="YES"

Run:

service msd_lite restart