Skip to content

calabashdad/seal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

    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

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

Releases

No releases published

Packages

No packages published

Languages