Skip to content
This repository was archived by the owner on Jul 31, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ APP_NAME=inno-live-server
APP_ENV=local
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/inno_live_server
WEBRTC_STUN_URLS=stun:stun.l.google.com:19302
WEBRTC_TURN_URLS=
WEBRTC_TURN_URLS=turn:innolive.duckdns.org:3478?transport=udp,turn:innolive.duckdns.org:3478?transport=tcp,turns:innolive.duckdns.org:5349?transport=tcp
WEBRTC_TURN_USERNAME=
WEBRTC_TURN_CREDENTIAL=
WEBRTC_ANNOUNCED_IP=
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Configure the server with environment variables:

```bash
WEBRTC_STUN_URLS=stun:stun.l.google.com:19302
WEBRTC_TURN_URLS=turn:turn.example.com:3478?transport=udp
WEBRTC_TURN_URLS=turn:innolive.duckdns.org:3478?transport=udp,turn:innolive.duckdns.org:3478?transport=tcp,turns:innolive.duckdns.org:5349?transport=tcp
WEBRTC_TURN_USERNAME=
WEBRTC_TURN_CREDENTIAL=
WEBRTC_ANNOUNCED_IP=
Expand Down
2 changes: 1 addition & 1 deletion SERVER_STRUCTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Status: active → closing → closed
| 설정 | 기본값 | 설명 |
|------|--------|------|
| `webrtc_stun_urls` | `stun:stun.l.google.com:19302` | STUN 서버 URL |
| `webrtc_turn_urls` | (비어있음) | TURN 서버 URL (선택사항) |
| `webrtc_turn_urls` | `turn:innolive.duckdns.org:3478?transport=udp`, `turn:innolive.duckdns.org:3478?transport=tcp`, `turns:innolive.duckdns.org:5349?transport=tcp` | TURN UDP/TCP/TLS 서버 URL |
| `webrtc_turn_username` | null | TURN 인증 사용자명 |
| `webrtc_turn_credential` | null | TURN 인증 자격증명 |
| `webrtc_announced_ip` | null | 호스트 candidate IP 교체용 공개 IP |
Expand Down
6 changes: 5 additions & 1 deletion app/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ class Settings(BaseSettings):
app_env: str = "local"
log_level: str = "INFO"
webrtc_stun_urls: str = "stun:stun.l.google.com:19302"
webrtc_turn_urls: str = ""
webrtc_turn_urls: str = (
"turn:innolive.duckdns.org:3478?transport=udp,"
"turn:innolive.duckdns.org:3478?transport=tcp,"
"turns:innolive.duckdns.org:5349?transport=tcp"
)
webrtc_turn_username: str | None = None
webrtc_turn_credential: str | None = None
webrtc_announced_ip: str | None = None
Expand Down
Loading
Loading