Coder Social home page Coder Social logo

live-streaming's Introduction

Spring cloud实现直播搭建

目前服务包括注册中心,配置中心,网关服务,鉴权服务,用户服务以及视频直播间服务 注册中心使用eureka,网关使用zuul,鉴权使用shiro,ORM框架采用hibernate 直播采用rtmp协议(具体搭建请看我的博客Nginx+RTMP搭建流媒体直播服务器

PS:有空逐步集成服务治理zipkin,elk,docker打包

├─ live-common                                      //基础工具
├─ live-config                                      //配置中心服务  port:8002
│  │     └─ resources
│  │        └─ config                               //本地配置
│  │           ├─ dev                               //开发环境
│  │           │  ├─ application.yml
│  │           │  ├─ gateway-server-dev.yml
│  │           │  ├─ ...
│  │           ├─ prod
│  │           │  └─ ...
│  │           └─ test
│  │              └─ ...
├─ live-data                                        //数据模型
│  │  ├─ bean
│  │  ├─ cache
│  │  ├─ config
│  │  ├─ entity
│  │  ├─ repository
│  │  └─ service
├─ live-dependencies                                //公共依赖包
│  └─ pom.xml
├─ live-gateway                                     //网关服务  port:8003
│  │  ├─ controller                                 //全局错误处理
│  │  │  └─ HandleErrorController.java
│  │  └─ filter                                     //网关过滤器
│  │     ├─ AccessLogFilter.java
│  │     ├─ HandleZuulExceptionFilter.java
│  │     └─ LoginFilter.java
├─ live-registry                                    //注册中心服务  port:8001
├─ live-auth                                        //鉴权服务  port:8010
├─ live-servants                                    //API模块
│  │  ├─ user
│  │  ├─ video
│  │  └─...
├─ live-user                                        //用户服务  port:8011
└─ live-video                                       //视频直播服务  port:8012

启动步骤,修改数据源配置,redis配置之后按注册中心,配置中心,网关,鉴权,用户以及视频服务启动(先启动注册而后配置中心,之后随便启动其他的)

live-streaming's People

Contributors

liangfuz avatar

Watchers

James Cloos 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.