WebRTC 시그널링 서버 + Kurento 미디어 서버 (구현중)
WebSocket & Stomp 사용
- Client A: SDP 형태의 Offer 메시지를 생성
- Client A: 생성된 Offer 메시지를 시그널링 서버에게 전달
- Signaling Server: 상대 Client를 찾아서 Offer 메시지 전달
- Client B: SDP 형태의 Answer 메시지 생성
- Client B: 생성된 Answer 메시지를 시그널링 서버에게 전달
- Signaling Server: 상대 Client를 찾아서 Answer 메시지 전달
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}}