1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-26 00:38:37 +00:00

update rtmp-client-arm

This commit is contained in:
kev 2016-07-04 00:52:24 +08:00
parent 89e0d7a001
commit 39b7596d0d
3 changed files with 8 additions and 9 deletions

@ -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

@ -2,12 +2,10 @@
# Dockerfile for rtmp-client-arm
#
FROM vimagick/alpine-arm
MAINTAINER kev <noreply@easypi.info>
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 \

@ -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