Git Product home page Git Product logo

cooper-spring-media's Introduction

Cooper 시그널링 서버

WebRTC 시그널링 서버 + Kurento 미디어 서버 (구현중)


(back to top)

프로젝트 구조




WebSocket & Stomp 사용

  • Client A: SDP 형태의 Offer 메시지를 생성
  • Client A: 생성된 Offer 메시지를 시그널링 서버에게 전달
  • Signaling Server: 상대 Client를 찾아서 Offer 메시지 전달
  • Client B: SDP 형태의 Answer 메시지 생성
  • Client B: 생성된 Answer 메시지를 시그널링 서버에게 전달
  • Signaling Server: 상대 Client를 찾아서 Answer 메시지 전달


(back to top)

Prerequisites

src/main/resources/ 위치에 application.properties or application.yml 추가

  • application.properties
    spring.application.name=cooper-media
    server.port = 0
    
    spring.datasource.url=jdbc:mysql://{your db adress}
    spring.datasource.username={your username}
    spring.datasource.password={your password}
    spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
    
    spring.jpa.hibernate.ddl-auto=update
    
    spring.thymeleaf.prefix=classpath:/templates/
    spring.thymeleaf.suffix=.html
    spring.thymeleaf.check-template-location=true
    
    eureka.client.register-with-eureka=true
    eureka.client.fetch-registry=true
    eureka.client.service-url.defaultZone=http://localhost:8761/eureka
    eureka.instance.instance-id=${spring.application.name}:${spring.application.instance_id:${random.value}}
    
  • application.yml
    server:
      port: 0
    
    spring:
      application:
        name: cooper-media
    
      datasource:
        url: {your db adress}
        username: {your username}
        password: {your password}
        driver-class-name: com.mysql.cj.jdbc.Driver
    
      devtools:
        livereload:
          enabled: true
    
      thymeleaf:
        prefix: classpath:/templates/
        suffix: .html
        cache: false
        check-template-location: true
    
    eureka:
      client:
        register-with-eureka: true
        fetch-registry: true
        service-url:
          defaultZone: http://localhost:8761/eureka
      instance:
        instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}
    

(back to top)

Reference Documentation

cooper-spring-media's People

Contributors

marso34 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.