From 5ac83f9e8719e63014723dbbca92bdf894ee23a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=B5=A9=E9=BA=9F?= Date: Wed, 15 Apr 2020 19:17:29 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=A1=A5=E5=85=85=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + README_cn.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 47a02065..36ed1797 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ Run `docker run -p 1935:1935 -p 7001:7001 -p 7002:7002 -d --name livego gwuhaoli 2. Get a channelkey `curl http://localhost:8090/control/get?room=movie` and copy data like your channelkey. 3. Upstream push: Push the video stream to `rtmp://localhost:1935/{appname}/{channelkey}` through the` RTMP` protocol, for example, use `ffmpeg -re -i demo.flv -c copy -f flv rtmp://localhost:1935/{appname}/{channelkey}` push; 4. Downstream playback: The following three playback protocols are supported, and the playback address is as follows: + -`RTMP`:`rtmp://localhost:1935/{appname}/{channelkey}` -`FLV`:`http://127.0.0.1:7001/{appname}/{channelkey}.flv` -`HLS`:`http://127.0.0.1:7002/{appname}/{channelkey}.m3u8` diff --git a/README_cn.md b/README_cn.md index 2708b5fa..43aceead 100644 --- a/README_cn.md +++ b/README_cn.md @@ -39,6 +39,7 @@ 2. 访问 `http://localhost:8090/control/get?room=movie` 获取一个房间的key. 3. 推流: 通过`RTMP`协议推送视频流到地址 `rtmp://localhost:1935/{appname}/{channelkey}`, 例如: 使用 `ffmpeg -re -i demo.flv -c copy -f flv rtmp://localhost:1935/{appname}/{channelkey}` 推流; 4. 播放: 支持多种播放协议,播放地址如下: + -`RTMP`:`rtmp://localhost:1935/{appname}/{channelkey}` -`FLV`:`http://127.0.0.1:7001/{appname}/{channelkey}.flv` -`HLS`:`http://127.0.0.1:7002/{appname}/{channelkey}.m3u8`