seal is rtmp server written by go language, main refer to rtmp server open source https://github.com/ossrs/srs
-
build
download https://github.com/calabashdad/seal to
go path
, rungo build
you can also use cross platform build, like build a linux version if you are on mac, run
cross_platform_linux
-
run console mode
./seal -c seal.yaml
-
run daemon mode
nohup ./seal -c seal.yaml &
-
mock stream publish
for((;;)); do \ ffmpeg -re -i lindan.flv \ -vcodec copy -acodec copy \ -f flv -y rtmp://127.0.0.1/live/test; \ sleep 3 done
-
use vlc play
rtmp
rtmp://127.0.0.1/live/test
hls
http://127.0.0.1:35418/live/test.m3u8
http-flv
http://127.0.0.1:35418/live/test.flv
go is cross platform
- linux
- mac
- windows
- rtmp protocol (h264 aac)
- hls (include http server)
- http-flv (include http server)
- h265
- transcode(audio to aac)
- http stats query
- video on demand
- video encry
- auth token dynamicly
- mini rtmp server in embed device