Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
337 B

ARG BASE_IMAGE
FROM $BASE_IMAGE
RUN apk add --no-cache \
ffmpeg
RUN wget -O /video.mkv http://www.larmoire.info/jellyfish/media/jellyfish-10-mbps-hd-h264.mkv
WORKDIR /s
COPY go.mod go.sum ./
RUN go mod download
COPY . ./
RUN go build -o /mediamtx .
COPY bench/read/start.sh /
RUN chmod +x /start.sh
ENTRYPOINT [ "/start.sh" ]