File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,12 +6,13 @@ export LC_ALL=C
66source /common.sh
77install_cleanup_trap
88
9+ [ -n "$CAMERA_STREAMER_ARCHIVE" ] || CAMERA_STREAMER_ARCHIVE="https://github.com/OctoPrint/camera-streamer-archive/releases/download/master-20230309133708/camera-streamer.zip"
10+
911# install dependencies
1012apt-get install --yes libavformat-dev libavutil-dev libavcodec-dev libcamera-dev liblivemedia-dev v4l-utils pkg-config xxd build-essential cmake libssl-dev
1113
1214# install camera-streamer
13- [ -e /files/camera-streamer/camera-streamer.zip ] && cp /files/camera-streamer/camera-streamer.zip /tmp/camera-streamer.zip \
14- || curl -L -o /tmp/camera-streamer.zip "https://github.com/OctoPrint/camera-streamer-archive/releases/download/develop-20230228153824/camera-streamer.zip"
15+ curl -L -o /tmp/camera-streamer.zip "$CAMERA_STREAMER_ARCHIVE"
1516unzip /tmp/camera-streamer.zip -d /tmp/camera-streamer
1617rm /tmp/camera-streamer.zip
1718
You can’t perform that action at this time.
0 commit comments