Skip to content

Commit

Permalink
docs: 修复排版
Browse files Browse the repository at this point in the history
  • Loading branch information
吴浩麟 committed Apr 15, 2020
1 parent 5ac83f9 commit 338ab27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,9 @@ 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`
- `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`

all options:
```bash
Expand Down
7 changes: 3 additions & 4 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@
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`
- `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`

所有配置项:
```bash
Expand Down

0 comments on commit 338ab27

Please sign in to comment.