Skip to content

fichenx/msd_lite

 
 

Repository files navigation

msd_lite

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

修改版(注释掉host判断,使其可以被反向代理)

修改自:rozhuk-im

Multi Stream daemon (msd) 程序的轻量级版本,用于通过 HTTP 管理网络上的 IPTV 流。

使用方法:

更换msd_lite源为修改版(可以反向代理)

sed -i 's|PKG_SOURCE_URL:=.*|PKG_SOURCE_URL:=https://github.com/fichenx/msd_lite.git|g'  feeds/packages/net/msd_lite/Makefile
sed -i 's|PKG_SOURCE_DATE:=.*|PKG_SOURCE_DATE:=2024-12-16|g'  feeds/packages/net/msd_lite/Makefile
sed -i 's|PKG_SOURCE_VERSION:=.*|PKG_SOURCE_VERSION:=983f5c07527b0c87a6494db49eade57da3c516bf|g'  feeds/packages/net/msd_lite/Makefile
sed -i 's|PKG_MIRROR_HASH:=.*|PKG_MIRROR_HASH:=11039120524d97a23ebf57f4ac494464cff6dd07a843c0b968ef818920361965|g'  feeds/packages/net/msd_lite/Makefile

Rozhuk Ivan rozhuk.im@gmail.com 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

About

Program for IP TV streaming on the network via HTTP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 86.1%
  • CMake 12.2%
  • Shell 1.7%