Browse Source

fix benchmarks

pull/707/head
aler9 4 years ago
parent
commit
a84904efdb
  1. 2
      bench/proxy/start.sh
  2. 2
      bench/publish/start.sh
  3. 2
      bench/read/start.sh

2
bench/proxy/start.sh

@ -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 &

2
bench/publish/start.sh

@ -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 &

2
bench/read/start.sh

@ -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…
Cancel
Save