SRS
Simple Realtime Server
SRS/6.0 (Hang) is a simple, high-efficiency, and real-time video server, supporting RTMP/WebRTC/HLS/HTTP-FLV/SRT/MPEG-DASH/GB28181, Linux/Windows/macOS, X86_64/ARMv7/AARCH64/M1/RISCV/LOONGARCH/MIPS, and essential features.
/home/55829/srs/trunk>./configure --gb28181=on
Warning: Your OS is not Ubuntu(no apt-get), CentOS(no yum), maxOS(not Darwin), Windows(not CYGWIN)
Enable asan by auto options.
User config: --gb28181=on
Detail config: --prefix=/usr/local/srs --config=conf/srs.conf --osx=off --hls=on --hds=off --dvr=on http-callback=on --http-server=on --stream-converter=on --http-api=on --utest=off --srt=on --sys-srt=on --sys-ffmpeg=off --ffmpeg-opus=off --nasm=on --srtp-nasm=on --sys-srtp=off --clean=on --gperf=ofd --shared-ffmpeg=reserved --shared-srtp=reserved --log-verbose=off --log-info=off --log-trace=on --anitizer-static=off --sanitizer-log=off --cygwin64=off --single-thread=off --generic-linux=off --bui
Discover SRS version=6.0.129, major=6
SRS_WORKDIR: ., SRS_OBJS: ./objs, SRS_PLATFORM: Platform-SRS6-MSYS_NT-10.0-22631-3.4.10.x86_64-GCC13
All outputs to: ./objs/Platform-SRS6-MSYS_NT-10.0-22631-3.4.10.x86_64-GCC13.2.0-x86_64
Your OS MSYS_NT-10.0-22631 is not supported.
Cygwin64
/home/admin/srs-5.0.26/trunk>./configure --utest=off --gb28181
User config: --x86-x64 --utest=off --gb28181
Detail config: --prefix=/usr/local/srs --config=conf/srs.conf --hls=on --hds=off --dvr=on --ssl=on --https=on --ssl-1-0=off --ssl-local=off --sys-ssl=off --transcode=on --ingest=on --stat=on --http-callback=on --http-server=on --stream-caster=on --http-api=on --utest=off --cherrypy=off --srt=off --rtc=on --simulator=off --gb28181=on --iconv=off --cxx11=on --cxx14=off --ffmpeg-fit=on --nasm=on --srtp-nasm=on --clean=on --gperf=off --gmc=off --gmd=off --gmp=off --gcp=off --gprof=off --static=off --shared-st=off --shared-srt=off --shared-ffmpeg=off --log-verbose=off --log-info=off --log-trace=on --gcov=off --debug=off --debug-stats=off --cross-build=off --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib
SRS_WORKDIR: ., SRS_OBJS_DIR: objs, SRS_OBJS: ./objs, SRS_PLATFORM: Platform-Linux-5.10.104-GCC9.4.0-SRS5-aarch64
Alias python2 as python
Checking gcc/g++/gdb/make.
Required tools are ok.
Installing tools for Ubuntu.
Tools for Ubuntu are installed.
SED is sed_utility
The state-threads is ok.
The openssl-1.1-fit is ok.
The libsrtp-2-fit is ok.
The opus-1.3.1 is ok.
The ffmpeg-4-fit is ok.
install module at: modules/mp4-parser
install module at: modules/hls-ingester
Generate modules CORE ok!
Generate modules KERNEL ok!
Generate modules PROTOCOL ok!
Generate modules APP ok!
Generate modules SERVER ok!
Generate modules MAIN ok!
Generating app srs depends.
Generating app srs link.
Generate app srs ok!
Generating app srs_mp4_parser depends.
Generating app srs_mp4_parser link.
Generate app srs_mp4_parser ok!
Generating app srs_hls_ingester depends.
Generating app srs_hls_ingester link.
Generate app srs_hls_ingester ok!
Generate Makefile
Configure ok!
Configure summary:
--x86-x64 --utest=off --gb28181
--prefix=/usr/local/srs --config=conf/srs.conf --hls=on --hds=off --dvr=on --ssl=on --https=on --ssl-1-0=off --ssl-local=off --sys-ssl=off --transcode=on --ingest=on --stat=on --http-callback=on --http-server=on --stream-caster=on --http-api=on --utest=off --cherrypy=off --srt=off --rtc=on --simulator=off --gb28181=on --iconv=off --cxx11=on --cxx14=off --ffmpeg-fit=on --nasm=on --srtp-nasm=on --clean=on --gperf=off --gmc=off --gmd=off --gmp=off --gcp=off --gprof=off --static=off --shared-st=off --shared-srt=off --shared-ffmpeg=off --log-verbose=off --log-info=off --log-trace=on --gcov=off --debug=off --debug-stats=off --cross-build=off --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib
HLS is enabled.
Experiment: StreamCaster is enabled.
Warning: HDS is disabled.
Warning: SRT is disabled.
Experiment: RTC is enabled. https://github.com/ossrs/srs/issues/307
Experiment: HTTPS is enabled. https://github.com/ossrs/srs/issues/1657
DVR is enabled.
RTMP complex handshake is enabled
NASM for HTTPS(openssl) and FFmepg is enabled
SRTP-NASM for WebRTC(openssl) is enabled
The transcoding is enabled
The ingesting is enabled.
The http-callback is enabled
Embeded HTTP server for HTTP-FLV/HLS is enabled.
The HTTP API is enabled
Note: The utests are disabled.
Note: The gperf(tcmalloc) is disabled.
Note: The gmc(gperf memory check) is disabled.
Note: The gmd(gperf memory defense) is disabled.
Note: The gmp(gperf memory profile) is disabled.
Note: The gcp(gperf cpu profile) is disabled.
Note: The gprof(GNU profile tool) is disabled.
Note: The cross-build is disabled.
Note: The valgrind is disabled.
Enable module: modules/mp4-parser
Enable module: modules/hls-ingester
You can build SRS:
" make " to build the SRS server
" make help " to get some help
/home/admin/srs-5.0.26/trunk>
make -j 8
/home/55829/srs/trunk>./objs/srs -version
6.0.129
cleanInterval=7
for (( i=1; i<=$cleanInterval; i++))
do
cmd="date -d \"-"$i" day\" \"+%Y%m%d\""
YYYYMMDD=`date -d "-$i day" "+%Y%m%d"`
echo "---- "$i" ---- "$YYYYMMDD
done
Linux-YAML
/opt/admin>yq -r .webrtcServerCert mediamtx/mediamtx.yml
server.crt
/opt/admin>yq -r .webrtcServerKey mediamtx/mediamtx.yml
server.key
/opt/admin>