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 )
9LD_LIBRARY_PATH="$SCRIPT_DIR/lib/usr/local/lib/x86_64-linux-gnu" \
10 DYLD_LIBRARY_PATH="$SCRIPT_DIR/lib/usr/local/lib" \
11 SP_DEV_FRONTEND_PROXY="http://127.0.0.1:38081" \
12 exec "$SCRIPT_DIR/libstreamplace" "$@"