From d5c96bf6d0db3e7ccd90d10bc694398145a26b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?halwu=28=E5=90=B4=E6=B5=A9=E9=BA=9F=29?= Date: Mon, 29 May 2017 10:58:50 +0800 Subject: [PATCH] doc: rewrite --- README.md | 38 +++++++++++++++++++++++++++++++------- goreleaser.yml | 2 ++ 2 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 goreleaser.yml diff --git a/README.md b/README.md index ded83d1..fbd4117 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/goreleaser.yml b/goreleaser.yml new file mode 100644 index 0000000..ca7a2cf --- /dev/null +++ b/goreleaser.yml @@ -0,0 +1,2 @@ +build: + binary: livego \ No newline at end of file