config: Update 2 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 41s

This commit is contained in:
Your Name
2025-09-01 21:48:57 +12:00
parent 00ad0d3a4c
commit 1733efbd28
2 changed files with 6 additions and 8 deletions

View File

@@ -16,8 +16,6 @@ metricsAddress: :9998
rtsp: yes rtsp: yes
rtspAddress: :8554 rtspAddress: :8554
rtspTransports: [tcp, udp] rtspTransports: [tcp, udp]
readTimeout: 10s
writeTimeout: 10s
# HLS Server # HLS Server
hls: yes hls: yes
@@ -38,16 +36,15 @@ paths:
court_main: court_main:
# Source URL is provided via environment variable MTX_PATHS_COURT_MAIN_SOURCE # Source URL is provided via environment variable MTX_PATHS_COURT_MAIN_SOURCE
# from docker-compose.yml # from docker-compose.yml
sourceProtocol: tcp
# Recording # Recording
record: yes record: yes
recordPath: /recordings/%path_%Y%m%d_%H%M%S.mp4 recordPath: /recordings/%path/%Y-%m-%d_%H-%M-%S-%f.mp4
recordFormat: fmp4
recordSegmentDuration: 1h recordSegmentDuration: 1h
recordDeleteAfter: 720h recordDeleteAfter: 24h
# Sub-stream for lower bandwidth # Sub-stream for lower bandwidth
court_sub: court_sub:
# Source URL is provided via environment variable MTX_PATHS_COURT_SUB_SOURCE # Source URL is provided via environment variable MTX_PATHS_COURT_SUB_SOURCE
# from docker-compose.yml # from docker-compose.yml
sourceProtocol: tcp

View File

@@ -8,7 +8,8 @@ _check_required_env_vars "PROJECT_NAME" "LOCAL_DATA_FOLDER" "CAMERA_IP" "COURT_I
# Create directories # Create directories
# shellcheck disable=SC2046 # shellcheck disable=SC2046
create_items $(get_squashkiwi_streaming_paths) || _die "Failed to create directories" create_items $(get_squashkiwi_streaming_paths) || _die "Failed to create directories"
mkdir -p "${RECORDINGS_FOLDER}" mkdir -p "${RECORDINGS_FOLDER}/court_main"
mkdir -p "${RECORDINGS_FOLDER}/court_sub"
mkdir -p "${LOCAL_DATA_FOLDER}/config" mkdir -p "${LOCAL_DATA_FOLDER}/config"
mkdir -p "${LOCAL_DATA_FOLDER}/config/overlay" mkdir -p "${LOCAL_DATA_FOLDER}/config/overlay"
mkdir -p "${LOCAL_DATA_FOLDER}/config/web" mkdir -p "${LOCAL_DATA_FOLDER}/config/web"