Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Split local and S3 HLS tests
Gabe Kangas221f6c2c6e37
diff --git a/.github/workflows/hls-tests.yml b/.github/workflows/hls-tests.ymlindex a34a7c4c59..e6a46ccfad 100644--- a/.github/workflows/hls-tests.yml+++ b/.github/workflows/hls-tests.yml@@ -1,4 +1,4 @@-name: Automated HLS tests+name: HLS testson:push:@@ -42,9 +42,16 @@ jobs:${{ runner.os }}-build-${{ runner.os }}-- - name: Run HLS tests+ - name: Local stroageuses: nick-fields/retry@v2with:timeout_minutes: 10max_attempts: 3command: cd test/automated/hls && ./run.sh++ - name: S3 storage+ uses: nick-fields/retry@v2+ with:+ timeout_minutes: 10+ max_attempts: 3+ command: cd test/automated/hls && ./run-s3.shdiff --git a/test/automated/hls/run-s3.sh b/test/automated/hls/run-s3.shnew file mode 100644index 0000000000..bd610da108--- /dev/null+++ b/test/automated/hls/run-s3.sh@@ -0,0 +1,35 @@+#!/bin/bash++set -e++# Determine if we should continue testing with S3 configuration.+if [[ -z "${S3_BUCKET}" ]]; then+ echo "No S3 configuration is set. Skipping S3 tests!"+ exit 0+fi++source ../tools.sh++# Install the node test framework+npm install --silent >/dev/null++install_ffmpeg++start_owncast++start_stream++sleep 10++# Run tests against a fresh install with no settings.+npm test++# Update the server config to use S3 for storage.+update_storage_config++start_stream++sleep 10++# Re-run the HLS test against the external storage configuration.+npm test