comms: move LiveKit media to UDP 443
This commit is contained in:
parent
5ed650d19c
commit
a815322f6e
@ -37,6 +37,9 @@ spec:
|
|||||||
--no-cli \
|
--no-cli \
|
||||||
--fingerprint \
|
--fingerprint \
|
||||||
--lt-cred-mech \
|
--lt-cred-mech \
|
||||||
|
--listening-ip=0.0.0.0 \
|
||||||
|
--relay-ip="${POD_IP}" \
|
||||||
|
--external-ip="${TURN_PUBLIC_IP}/${POD_IP}" \
|
||||||
--user=livekit:"${TURN_STATIC_AUTH_SECRET}" \
|
--user=livekit:"${TURN_STATIC_AUTH_SECRET}" \
|
||||||
--realm=live.bstein.dev \
|
--realm=live.bstein.dev \
|
||||||
--listening-port=3478 \
|
--listening-port=3478 \
|
||||||
@ -48,6 +51,12 @@ spec:
|
|||||||
--log-file=stdout \
|
--log-file=stdout \
|
||||||
--no-software-attribute
|
--no-software-attribute
|
||||||
env:
|
env:
|
||||||
|
- name: POD_IP
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: status.podIP
|
||||||
|
- name: TURN_PUBLIC_IP
|
||||||
|
value: "38.28.125.112"
|
||||||
- name: TURN_STATIC_AUTH_SECRET
|
- name: TURN_STATIC_AUTH_SECRET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
@ -7,8 +7,8 @@ data:
|
|||||||
livekit.yaml: |
|
livekit.yaml: |
|
||||||
port: 7880
|
port: 7880
|
||||||
rtc:
|
rtc:
|
||||||
udp_port: 7882
|
udp_port: 443
|
||||||
tcp_port: 7881
|
tcp_port: 0
|
||||||
use_external_ip: true
|
use_external_ip: true
|
||||||
turn_servers:
|
turn_servers:
|
||||||
- host: turn.live.bstein.dev
|
- host: turn.live.bstein.dev
|
||||||
|
|||||||
@ -65,10 +65,7 @@ spec:
|
|||||||
- containerPort: 7880
|
- containerPort: 7880
|
||||||
name: http
|
name: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- containerPort: 7881
|
- containerPort: 443
|
||||||
name: tcp-media
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 7882
|
|
||||||
name: udp-media
|
name: udp-media
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
@ -110,11 +107,7 @@ spec:
|
|||||||
port: 7880
|
port: 7880
|
||||||
targetPort: 7880
|
targetPort: 7880
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: tcp-media
|
|
||||||
port: 7881
|
|
||||||
targetPort: 7881
|
|
||||||
protocol: TCP
|
|
||||||
- name: udp-media
|
- name: udp-media
|
||||||
port: 7882
|
port: 443
|
||||||
targetPort: 7882
|
targetPort: 443
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user