From ad4565f784041b9901d69c9bda032c29bbbdfd8c Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Mon, 29 May 2023 21:10:38 +0300 Subject: ipcam_rtsp2hls.sh: reformat using tabs, add --custom-path --- tools/ipcam_rtsp2hls.sh | 137 ++++++++++++++++++++++++++---------------------- 1 file changed, 75 insertions(+), 62 deletions(-) diff --git a/tools/ipcam_rtsp2hls.sh b/tools/ipcam_rtsp2hls.sh index 64e9121..324a17c 100755 --- a/tools/ipcam_rtsp2hls.sh +++ b/tools/ipcam_rtsp2hls.sh @@ -11,76 +11,83 @@ DEBUG=0 CHANNEL=1 FORCE_UDP=0 FORCE_TCP=0 +CUSTOM_PATH= die() { - echo >&2 "error: $@" - exit 1 + echo >&2 "error: $@" + exit 1 } usage() { - cat <