Skip to content

Commit

Permalink
fix: test using irltk fork
Browse files Browse the repository at this point in the history
  • Loading branch information
datagutt authored Apr 18, 2024
1 parent cf756bf commit 4c1e9b1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM alpine:3.18 as builder

RUN apk update &&\
apk upgrade &&\
apk add --no-cache linux-headers alpine-sdk cmake tcl openssl-dev zlib-dev
apk add --no-cache linux-headers alpine-sdk cmake tcl openssl-dev zlib-dev spdlog spdlog-dev

WORKDIR /tmp

Expand All @@ -20,14 +20,14 @@ RUN mkdir -p /build; \

# belabox patched srtla
#
ARG SRTLA_VERSION=main
ARG SRTLA_VERSION=irltk-fork
RUN mkdir -p /build; \
git clone https://github.com/IRLServer/srtla.git /build/srtla; \
git clone https://github.com/IRLToolkit/srtla.git /build/srtla; \
cd /build/srtla; \
git checkout $SRTLA_VERSION; \
make -j${nproc};

RUN cp /build/srtla/srtla_rec /build/srtla/srtla_send /usr/local/bin
RUN cp /build/srtla/irltk_srtla_rec /usr/local/bin/srtla_rec
# I honestly don't know why this is needed after rebasing with mainstream SRT
RUN cp /build/srt/srtcore/srt_compat.h /usr/local/include/srt/

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Work in progress. A few streamers i know are personally using this image for the
**WARNING: This is not an official Belabox project. Please don't spam rationalirl about it!**

We using the following great open-source projects:
- srtla_rec from https://github.com/BELABOX
- srt-live-transmit from https://github.com/BELABOX
- srtla_rec from https://github.com/IRLToolkit/srtla/tree/irltk-fork
- irl-srt-server (srt-live-server fork) from https://github.com/IRLServer/irl-srt-server

## Manual
Expand Down
2 changes: 1 addition & 1 deletion files/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/bin/sh -c "sleep 3 && /usr/local/bin/srtla_rec 5000 localhost 8282"
command=/bin/sh -c "sleep 3 && /usr/local/bin/srtla_rec --srtla_port=5000 --srt_hostname=localhost --srt_port=8282 --verbose"

[program:server]
priority=200
Expand Down

0 comments on commit 4c1e9b1

Please sign in to comment.