forked from External/mediamtx
fix benchmarks
This commit is contained in:
parent
f7419586af
commit
a84904efdb
3 changed files with 6 additions and 0 deletions
|
|
@ -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 &
|
||||||
|
|
|
||||||
|
|
@ -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 &
|
||||||
|
|
|
||||||
|
|
@ -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 &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue