1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/red5
2016-07-07 18:17:27 +08:00
..
arm update red5-arm 2016-07-07 17:40:07 +08:00
docker-compose.yml rename red5-server => red5 2016-07-04 23:14:45 +08:00
Dockerfile update red5-arm 2016-07-07 17:40:07 +08:00
README.md update ffmpeg 2016-07-07 18:17:27 +08:00

red5

Red5 is an Open Source Flash Server written in Java.

docker-compose.yml

red5:
  image: vimagick/red5
  ports:
    - "1935:1935"  # rtmp/e
    - "5080:5080"  # http
    - "8081:8081"  # websocket
  restart: always

Server Setup

$ docker-compose up -d
$ docker-compose exec red5 bash
>>> vi /opt/red5/conf/red5.properties
>>> exit
$ docker-compose restart

Client Setup

$ ffmpeg -i /dev/video0 -video_size 800x600 -f flv rtmp://easypi.info/live/webcam

Please try easypi/rtmp-client-arm on Raspberry Pi.

Player Setup

# kodi
$ echo 'rtmp://easypi.info/live/webcam live=1' > ~/Movies/webcam.strm

# ffplay
$ brew reinstall ffmpeg --with-ffplay --with-rtmpdump
$ ffplay 'rtmp://easypi.info/live/webcam live=1'

references