Go to file
macbookpro cdff0624ed delete some logs 2019-02-23 14:59:39 +08:00
models persist pull streams 2019-01-06 19:12:17 +08:00
routers pull to push support udp transport 2019-01-06 21:10:13 +08:00
rtsp delete some logs 2019-02-23 14:59:39 +08:00
vendor fix dh-ipc sdp error 2019-01-02 10:13:42 +08:00
web_src pull to push support udp transport 2019-01-06 21:10:13 +08:00
www git add www 2019-01-13 16:43:30 +08:00
.gitignore git add www 2019-01-13 16:43:30 +08:00
EasyDarwin_windows.syso 1st commit 2018-11-07 19:28:13 +08:00
README.md update readme 2019-01-07 16:18:59 +08:00
ServiceInstall-EasyDarwin.exe 1st commit 2018-11-07 19:28:13 +08:00
ServiceUninstall-EasyDarwin.exe 1st commit 2018-11-07 19:28:13 +08:00
easydarwin.ini password should be the hex of md5(original password) 2019-01-12 21:49:55 +08:00
ed.ico 1st commit 2018-11-07 19:28:13 +08:00
main.go persist pull streams 2019-01-06 19:12:17 +08:00
package.json fix bild error on windows 2018-12-24 17:25:45 +08:00
start.sh git chmod a+x *.sh 2018-11-29 22:37:15 +08:00
stop.sh git chmod a+x *.sh 2018-11-29 22:37:15 +08:00

README.md

EasyDarwin开源流媒体服务器

主要功能特点

安装部署

  • 下载解压 release 包

  • 直接运行(Windows)

    EasyDarwin.exe

    Ctrl + C 停止服务

  • 以服务启动(Windows)

    ServiceInstall-EasyDarwin.exe

    以 ServiceUninstall-EasyDarwin.exe 卸载 EasyDarwin 服务

  • 直接运行(Linux/macOS)

      cd EasyDarwin
      ./easydarwin
      # Ctrl + C
    
  • 以服务启动(Linux/macOS)

      cd EasyDarwin
      ./start.sh
      # ./stop.sh
    
  • 查看界面

    打开浏览器输入 http://localhost:10008, 进入控制页面,默认用户名密码是admin/admin

  • 测试推流

    ffmpeg -re -i C:\Users\Administrator\Videos\test.mkv -rtsp_transport tcp -vcodec h264 -f rtsp rtsp://localhost/test

    ffmpeg -re -i C:\Users\Administrator\Videos\test.mkv -rtsp_transport udp -vcodec h264 -f rtsp rtsp://localhost/test

  • 测试播放

    ffplay -rtsp_transport tcp rtsp://localhost/test

    ffplay rtsp://localhost/test

效果图

snapshot

二次开发

准备工具

    # go tools
    go get -u -v github.com/kardianos/govendor
    go get -u -v github.com/penggy/gobuild

    # npm tools
    npm i -g apidoc
    npm i -g rimraf

编译命令

  • 获取代码

      cd $GOPATH/src/github.com
      mkdir EasyDarwin && cd EasyDarwin
      git clone https://github.com/EasyDarwin/EasyDarwin.git --depth=1 EasyDarwin
      cd EasyDarwin
    
  • 以开发模式运行

      npm run dev
    
  • 以开发模式运行前端 Run as dev mode

      npm run dev:www       
    
  • 编译前端 Build www

      cd web_src && npm i
      cd ..
      npm run build:www
    
  • 编译 Windows 版本 Build windows version

      npm run build:win
    
  • 编译 Linux/macOS 版本 (在 bash 环境下执行) Build linux/macOS version

      npm run build:lin       
    
  • 清理编译文件 Clean

      npm run clean 
    
  • 打包 Pack

      # install pack
      npm i -g @penggy/pack
    
      # for windows
      npm run build:win
      pack zip
    
      # for linux/macOS
      npm run build:lin
      pack tar
    
      # for clean
      pack clean
    

技术支持

  • 邮件:support@easydarwin.org

  • QQ交流群436297092

  • EasyDarwin开源流媒体服务器是属于EasyDarwin开源团队的免费产品大家免费使用同时EasyDarwin开源团队也能提供相应的收费技术咨询、技术服务和技术定制谢谢大家支持

获取更多信息

EasyDarwin开源项目:www.EasyDarwin.org

Copyright © EasyDarwin Team 2012-2018

EasyDarwin