|
- # HTTP/WebSocket service.
- NODE_ENV=production
- LISTEN_IP=0.0.0.0
- PORT=4443
-
- # Public hostname is only used for logs/docs. Nginx usually terminates TLS/WSS.
- PUBLIC_BASE_URL=https://oa.qbjjyyun.net/ws_webrtc_sfu_api
-
- # Authentication is intentionally off for the first deployment.
- AUTH_ENABLED=false
-
- # mediasoup worker count. Leave empty to use CPU count.
- MEDIASOUP_WORKERS=
- MEDIASOUP_LOG_LEVEL=warn
- MEDIASOUP_LOG_TAGS=info,ice,dtls,rtp,rtcp,bwe,score,simulcast,sctp
-
- # Bindable IP on the SFU host.
- MEDIASOUP_LISTEN_IP=0.0.0.0
-
- # Required when MEDIASOUP_LISTEN_IP is 0.0.0.0 or the server is behind NAT.
- # Use the public IP or public DNS name that browsers can reach.
- MEDIASOUP_ANNOUNCED_ADDRESS=
-
- # UDP/TCP ports for WebRTC media. Open this whole range on firewall/security group.
- MEDIASOUP_RTC_MIN_PORT=40000
- MEDIASOUP_RTC_MAX_PORT=49999
-
- # Transport behavior.
- MEDIASOUP_ENABLE_UDP=true
- MEDIASOUP_ENABLE_TCP=true
- MEDIASOUP_PREFER_UDP=true
- MEDIASOUP_INITIAL_AVAILABLE_OUTGOING_BITRATE=1000000
-
- # Empty rooms are closed after this delay.
- ROOM_IDLE_TIMEOUT_MS=300000
|