|
|
|
@ -1,13 +1,37 @@
@@ -1,13 +1,37 @@
|
|
|
|
|
# livego - a streaming server in pure go |
|
|
|
|
# livego |
|
|
|
|
live streaming server write in pure go, simple efficient and can run in any platform. |
|
|
|
|
|
|
|
|
|
## Feature |
|
|
|
|
- write in pure golang, can run in any platform |
|
|
|
|
- for live streaming |
|
|
|
|
- support `RTMP` and `FLV` `HLS` over HTTP |
|
|
|
|
## Support |
|
|
|
|
#### Protocol |
|
|
|
|
- [x] AMF |
|
|
|
|
- [x] HLS |
|
|
|
|
- [x] HTTP-FLV |
|
|
|
|
- [ ] WebSocket-FLV |
|
|
|
|
- [x] RTMP |
|
|
|
|
#### Container |
|
|
|
|
- [x] FLV |
|
|
|
|
- [x] TS |
|
|
|
|
#### Code |
|
|
|
|
- [x] H264 |
|
|
|
|
- [x] AAC |
|
|
|
|
- [x] MP3 |
|
|
|
|
|
|
|
|
|
## Use |
|
|
|
|
## Install |
|
|
|
|
### Download Bin |
|
|
|
|
TODO |
|
|
|
|
|
|
|
|
|
### Docker |
|
|
|
|
TODO |
|
|
|
|
|
|
|
|
|
### Install System Service |
|
|
|
|
- Mac |
|
|
|
|
|
|
|
|
|
### Build From Source code |
|
|
|
|
1. run `git clone https://github.com/gwuhaolin/livego.git` |
|
|
|
|
2. run `go run main.go` to start livego server |
|
|
|
|
2. cd to livego dir then run `go build` |
|
|
|
|
|
|
|
|
|
## Use |
|
|
|
|
2. run `livego` to start livego server |
|
|
|
|
3. push `RTMP` stream to `rtmp://localhost:1935/live/movie`, eg use `ffmpeg -re -i demo.flv -c copy -f flv rtmp://localhost:1935/live/movie` |
|
|
|
|
4. play stream use [VLC](http://www.videolan.org/vlc/index.html) or other players |
|
|
|
|
- play `RTMP` from `rtmp://localhost:1935/live/movie` |
|
|
|
|