1
0
Fork 0
forked from External/mediamtx

fix benchmarks

This commit is contained in:
aler9 2021-11-12 22:33:19 +01:00
parent f7419586af
commit a84904efdb
3 changed files with 6 additions and 0 deletions

View file

@ -11,6 +11,8 @@ CONF="${CONF}hlsDisable: yes\n"
CONF="${CONF}rtspAddress: :8555\n" CONF="${CONF}rtspAddress: :8555\n"
CONF="${CONF}rtpAddress: :8002\n" CONF="${CONF}rtpAddress: :8002\n"
CONF="${CONF}rtcpAddress: :8003\n" CONF="${CONF}rtcpAddress: :8003\n"
CONF="${CONF}paths:\n"
CONF="${CONF} all:\n"
echo -e "$CONF" > /source.conf echo -e "$CONF" > /source.conf
RTSP_RTMPDISABLE=yes /rtsp-simple-server /source.conf & RTSP_RTMPDISABLE=yes /rtsp-simple-server /source.conf &

View file

@ -8,6 +8,8 @@ PUBLISHER_PROTOCOL=tcp
CONF="" CONF=""
CONF="${CONF}pprof: yes\n" CONF="${CONF}pprof: yes\n"
CONF="${CONF}paths:\n"
CONF="${CONF} all:\n"
echo -e "$CONF" > /source.conf echo -e "$CONF" > /source.conf
/rtsp-simple-server /source.conf & /rtsp-simple-server /source.conf &

View file

@ -8,6 +8,8 @@ READER_PROTOCOL=tcp
CONF="" CONF=""
CONF="${CONF}pprof: yes\n" CONF="${CONF}pprof: yes\n"
CONF="${CONF}paths:\n"
CONF="${CONF} all:\n"
echo -e "$CONF" > /source.conf echo -e "$CONF" > /source.conf
/rtsp-simple-server /source.conf & /rtsp-simple-server /source.conf &