项目作者: calabashdad

项目描述 :
rtmp server in go language
高级语言: Go
项目地址: git://github.com/calabashdad/seal.git
创建时间: 2018-01-05T09:44:49Z
项目社区:https://github.com/calabashdad/seal

开源协议:

下载


Seal

seal is rtmp server written by go language, main refer to rtmp server open source https://github.com/ossrs/srs

Usage

  • build

    download https://github.com/calabashdad/seal to go path, run go 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

    1. for((;;)); do \
    2. ffmpeg -re -i lindan.flv \
    3. -vcodec copy -acodec copy \
    4. -f flv -y rtmp://127.0.0.1/live/test; \
    5. sleep 3
    6. 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

platform

go is cross platform

  • linux
  • mac
  • windows

support

  • rtmp protocol (h264 aac)
  • hls (include http server)
  • http-flv (include http server)

plan to support

  • h265
  • transcode(audio to aac)
  • http stats query
  • video on demand
  • video encry
  • auth token dynamicly
  • mini rtmp server in embed device