Git Product home page Git Product logo

groot9325 / easydarwin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from easydarwin/easydarwin

0.0 1.0 0.0 286.59 MB

open source、high performance、industrial rtsp streaming server,a lot of optimization on streaming relay,KeyFrame cache,RESTful,and web management,also EasyDarwin support distributed load balancing,a simple streaming media cloud platform architecture.高性能开源RTSP流媒体服务器,基于go语言研发,维护和优化:RTSP推模式转发、RTSP拉模式转发、录像、检索、回放、关键帧缓存、秒开画面、RESTful接口、WEB后台管理、分布式负载均衡,基于EasyDarwin构建出了一套基础的流媒体云视频平台架构!

Home Page: http://www.easydarwin.org/

JavaScript 31.88% CSS 4.12% Vue 16.10% HTML 10.03% Shell 0.06% Go 37.80%

easydarwin's Introduction

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
    

技术支持

  • 邮件:[email protected]

  • QQ交流群:436297092

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

获取更多信息

EasyDarwin开源项目:www.EasyDarwin.org

Copyright © EasyDarwin Team 2012-2018

EasyDarwin

easydarwin's People

Contributors

babosa avatar dependabot[bot] avatar fanr520 avatar hansong2455 avatar mask-pp avatar milkywayriver avatar ordosx avatar penggy avatar xcyle-gh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.