aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-08 12:24:19 +0000
committerMario <mario@mariovavti.com>2021-10-08 12:24:19 +0000
commite6dac085cb1d601da1fc63bfd59d811612fa6ef4 (patch)
treef5b704b613c9c8d347857b4e7f8dd0b19cdd7df3 /vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh
parentf5f357060bf0ebcb0b8352519375953d993437e7 (diff)
downloadvolse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.tar.gz
volse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.tar.bz2
volse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.zip
update composer libs
Diffstat (limited to 'vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh')
-rw-r--r--vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh b/vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh
deleted file mode 100644
index d6bee1da7..000000000
--- a/vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-
-if [ "$1" = -t ]; then
- BIN='/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver'
- shift
-else
- BIN=safaridriver
-fi
-
-SCREEN='Capture screen'
-
-if [ -z "$1" ]; then
- OUTPUT=$(ffmpeg -f avfoundation -list_devices true -i - 2>&1 | grep "$SCREEN")
- if [ "$(echo "$OUTPUT" | grep -c ^)" -gt 1 ]; then
- echo 'Please select the input device by entering its [index] number:' >&2
- echo "$OUTPUT" >&2
- read -r INDEX
- fi
-else
- INDEX=$1
-fi
-
-echo 'Starting safaridriver on 127.0.0.1:4444 ...' >&2
-"$BIN" -p 4444 & pid=$!
-
-# shellcheck disable=SC2064
-trap "kill $pid; exit" INT TERM
-
-echo 'Starting mjpeg-server on 127.0.0.1:9000 ...' >&2
-mjpeg-server -a 127.0.0.1:9000 -- ffmpeg \
- -loglevel error \
- -probesize 32 \
- -fpsprobesize 0 \
- -analyzeduration 0 \
- -fflags nobuffer \
- -f avfoundation \
- -capture_cursor 1 \
- -r "${FPS:-15}" \
- -pixel_format yuyv422 \
- -i "${INDEX:-$SCREEN}" \
- -f mpjpeg \
- -q "${QUALITY:-2}" \
- -