|
|
|
@ -23,10 +23,10 @@ Simple and efficient live broadcast server:
@@ -23,10 +23,10 @@ Simple and efficient live broadcast server:
|
|
|
|
|
After directly downloading the compiled [binary file](https://github.com/gwuhaolin/livego/releases), execute it on the command line. |
|
|
|
|
|
|
|
|
|
#### Boot from Docker |
|
|
|
|
Run `docker run -p 1935: 1935 -p 7001: 7001 -p 7002: 7002 -d --name livego gwuhaolin / livego` to start |
|
|
|
|
Run `docker run -p 1935:1935 -p 7001:7001 -p 7002:7002 -d --name livego gwuhaolin/livego` to start |
|
|
|
|
|
|
|
|
|
#### Compile from source |
|
|
|
|
1. Download the source code `git clone https: // github.com / gwuhaolin / livego.git` |
|
|
|
|
1. Download the source code `git clone https://github.com/gwuhaolin/livego.git` |
|
|
|
|
2. Go to the livego directory and execute `go build` |
|
|
|
|
|
|
|
|
|
## Use |
|
|
|
@ -37,7 +37,6 @@ Run `docker run -p 1935: 1935 -p 7001: 7001 -p 7002: 7002 -d --name livego gwuha
@@ -37,7 +37,6 @@ Run `docker run -p 1935: 1935 -p 7001: 7001 -p 7002: 7002 -d --name livego gwuha
|
|
|
|
|
-`FLV`:`http://127.0.0.1:7001/live/movie.flv` |
|
|
|
|
-`HLS`:`http://127.0.0.1:7002/live/movie.m3u8` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### [Use with flv.js](https://github.com/gwuhaolin/blog/issues/3) |
|
|
|
|
|
|
|
|
|
Interested in Golang? Please see [Golang Chinese Learning Materials Summary](http://go.wuhaolin.cn/) |
|
|
|
|