Skip to content

Commit b776aaf

Browse files
committed
Feat: TURN 서버 설정 yml 파일에 추가
1 parent 51d828e commit b776aaf

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

src/main/resources/application-prod.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ webrtc:
105105
- urls: stun:stun.l.google.com:19302
106106
- urls: stun:stun1.l.google.com:19302
107107
- urls: stun:stun2.l.google.com:19302
108+
turn:
109+
shared-secret: "${WEBRTC_TURN_SHARED_SECRET}"
110+
server-ip: "${WEBRTC_TURN_SERVER_IP}"
111+
ttl-seconds: 3600
108112

109113
# 스터디룸 설정
110114
studyroom:

src/main/resources/application-test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,6 @@ jwt:
8989
frontend:
9090
base-url: http://localhost:3000
9191

92-
webrtc:
93-
ice-servers:
94-
- urls: stun:stun.l.google.com:19302
95-
- urls: stun:stun1.l.google.com:19302
96-
- urls: stun:stun2.l.google.com:19302
97-
9892
# AWS S3
9993
cloud:
10094
aws:

src/main/resources/application.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ webrtc:
122122
- urls: stun:stun.l.google.com:19302
123123
- urls: stun:stun1.l.google.com:19302
124124
- urls: stun:stun2.l.google.com:19302
125+
turn:
126+
shared-secret: "${WEBRTC_TURN_SHARED_SECRET}"
127+
server-ip: "${WEBRTC_TURN_SERVER_IP}"
128+
ttl-seconds: 3600
125129

126130
# 스터디룸 설정
127131
studyroom:

0 commit comments

Comments
 (0)