Live video on the AT Protocol
1#!/bin/bash
2
3# script that gets copied into the build directory to run libstreamplace
4# with the correct environment variables
5
6set -euo pipefail
7
8SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
9STREAMPLACE_DEV_VERSION=$(go run ./pkg/config/git/git.go -v) \
10LD_LIBRARY_PATH="$SCRIPT_DIR/lib" \
11SP_DEV_FRONTEND_PROXY="http://127.0.0.1:38081" \
12 exec "$SCRIPT_DIR/libstreamplace" "$@"