Live video on the AT Protocol

docs: add /var/lib/streamplace SP_DATA_DIR

+7 -1
+1
docker/release.Dockerfile
··· 7 7 # strip the -cloudflare suffix from the url; we're on the git server we don't need to leave 8 8 RUN export LOCAL_URL="$(echo $STREAMPLACE_URL | sed 's/-cloudflare//')" && echo "downloading $LOCAL_URL" && cd /usr/local/bin && curl -L "$LOCAL_URL" | tar xzv 9 9 RUN streamplace self-test 10 + ENV SP_DATA_DIR=/var/lib/streamplace 10 11 CMD streamplace
+6 -1
js/docs/src/content/docs/guides/installing/downloading-streamplace.md
··· 39 39 # If you have a multi-node cluster, they'll each need different public DNS names: 40 40 SP_SERVER_HOST=prod-nyc0.example.com 41 41 42 + # If you don't want to syndicate everyone, add your list of allowed DIDs here: 43 + SP_ALLOWED_STREAMS=did:web:example.com,did:plc:rbvrr34edl5ddpuwcubjiost 44 + 42 45 # Useful if your TLS cert and key aren't in the default 43 46 SP_TLS_CERT=/tls/tls.crt 44 47 SP_TLS_KEY=/tls/tls.key ··· 48 51 49 52 Running Streamplace from a Docker image works great except for Docker 50 53 networking. Streamplace relies heavily on WebRTC for playback, which requires 51 - large numbers of ephemeral UDP ports to work properly. So, we reccomend using 54 + large numbers of ephemeral UDP ports to work properly. So, we recommend using 52 55 host networking. So that command would look something like: 53 56 54 57 ```shell ··· 59 62 -e SP_HTTPS_ADDR=:443 \ 60 63 -e SP_SECURE=true \ 61 64 -e SP_BROADCASTER_HOST=example.com \ 65 + -e SP_ALLOWED_STREAMS=did:web:example.com,did:plc:rbvrr34edl5ddpuwcubjiost \ 66 + -v /var/lib/streamplace:/var/lib/streamplace \ 62 67 --net=host \ 63 68 oci.stream.place/streamplace 64 69 ```