~scriptsnginx
7 itemsDownload ./*

7 itemsDownload ./*

..
ana-stream-gst-rtmp-rtp-wpe.gensh
ana-stream-gst-rtmp-rtp.gensh
ana-stream-gst-srt-rtp.gensh
killrtmppush.sh
makethumb.sh
nginx.conf
pushrtmprtp.sh


nginxkillrtmppush.sh
35•  1 month ago•  DownloadRawClose
1 month ago•  35

{}
#!/bin/bash

APP=$1
NAME=$2

if [ "$APP/$NAME" != "/" ]; then
    #rtmp
    kill $(ps aux | grep "$APP/$NAME" | awk '{print $2}')
else
    #srt
    #kill $(ps aux | grep "srt://127\.0\.0\.1:9001" | awk '{print $2}')
    kill $(ps aux | grep "srt://:9001" | awk '{print $2}')
fi

Top
©twily.info 2013 - 2024
twily at twily dot info



2 158 914 visits
... ^ v