diff --git a/rtmp/README.md b/rtmp/README.md index 304d42f..dda99c1 100644 --- a/rtmp/README.md +++ b/rtmp/README.md @@ -26,16 +26,18 @@ server: restart: always client: - image: vimagick/rtmp-client-arm + image: easypi/rtmp-client-arm # command: ffmpeg -i /dev/video0 -vf "hflip,vflip" -f flv rtmp://cctv.easypi.info/live/webcam devices: - /dev/video0:/dev/video0 environment: +# - RTMP_DEV=rtsp://192.168.42.1/live - RTMP_URI=rtmp://easypi.info/live/webcam restart: always ``` -> You can run customized `ffmpeg` command. +> - You can run customized `ffmpeg` command. +> - Input can be stream instead of device. (It works as a relay!) ## Server diff --git a/rtmp/client/Dockerfile b/rtmp/client/Dockerfile index 8d02956..be59745 100644 --- a/rtmp/client/Dockerfile +++ b/rtmp/client/Dockerfile @@ -2,12 +2,10 @@ # Dockerfile for rtmp-client-arm # -FROM vimagick/alpine-arm -MAINTAINER kev +FROM easypi/alpine-arm +MAINTAINER EasyPi Software Foundation -RUN set -xe \ - && apk add -U ffmpeg \ - && rm -rf /var/cache/apk/* +RUN apk add --no-cache ffmpeg ENV RTMP_DEV=/dev/video0 \ RTMP_FMT=flv \ diff --git a/rtmp/client/docker-compose.yml b/rtmp/client/docker-compose.yml index e511a0e..4fd3400 100644 --- a/rtmp/client/docker-compose.yml +++ b/rtmp/client/docker-compose.yml @@ -1,9 +1,8 @@ client: - image: vimagick/rtmp-client-arm + image: easypi/rtmp-client-arm devices: - /dev/video0:/dev/video0 environment: # - RTMP_DEV=rtsp://192.168.42.1/live - RTMP_URI=rtmp://cctv.easypi.info/live/webcam -# net: host restart: always