Configure frigate webrtc
This commit is contained in:
@@ -4,3 +4,4 @@ resources:
|
|||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- secret.yaml
|
- secret.yaml
|
||||||
- release.yaml
|
- release.yaml
|
||||||
|
- webrtc-svc.yaml
|
||||||
|
|||||||
@@ -60,6 +60,16 @@ spec:
|
|||||||
- audio
|
- audio
|
||||||
- detect
|
- detect
|
||||||
- record
|
- record
|
||||||
|
|
||||||
|
go2rtc:
|
||||||
|
streams:
|
||||||
|
dom:
|
||||||
|
- rtsp://{FRIGATE_RTSP_DOM_USER}:{FRIGATE_RTSP_DOM_PASSWORD_URLENCODED}@192.168.3.10:554/Streaming/Channels/101
|
||||||
|
garaz:
|
||||||
|
- rtsp://{FRIGATE_RTSP_GARAZ_USER}:{FRIGATE_RTSP_GARAZ_PASSWORD_URLENCODED}@192.168.3.11:554/Streaming/Channels/101
|
||||||
|
webrtc:
|
||||||
|
candidates:
|
||||||
|
- frigate-rtc.lumpiasty.xyz:8555
|
||||||
persistence:
|
persistence:
|
||||||
media:
|
media:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -78,6 +88,7 @@ spec:
|
|||||||
enabled: true
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
|
nginx.org/websocket-services: frigate
|
||||||
hosts:
|
hosts:
|
||||||
- host: frigate.lumpiasty.xyz
|
- host: frigate.lumpiasty.xyz
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -34,5 +34,10 @@ spec:
|
|||||||
type: Opaque
|
type: Opaque
|
||||||
transformation:
|
transformation:
|
||||||
excludeRaw: true
|
excludeRaw: true
|
||||||
|
templates:
|
||||||
|
FRIGATE_RTSP_DOM_PASSWORD_URLENCODED:
|
||||||
|
text: '{{ urlquery (get .Secrets "FRIGATE_RTSP_DOM_PASSWORD") }}'
|
||||||
|
FRIGATE_RTSP_GARAZ_PASSWORD_URLENCODED:
|
||||||
|
text: '{{ urlquery (get .Secrets "FRIGATE_RTSP_GARAZ_PASSWORD") }}'
|
||||||
|
|
||||||
vaultAuthRef: camera
|
vaultAuthRef: camera
|
||||||
|
|||||||
20
apps/frigate/webrtc-svc.yaml
Normal file
20
apps/frigate/webrtc-svc.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: go2rtc
|
||||||
|
namespace: frigate
|
||||||
|
spec:
|
||||||
|
type: LoadBalancer
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/instance: frigate
|
||||||
|
app.kubernetes.io/name: frigate
|
||||||
|
ipFamilyPolicy: RequireDualStack
|
||||||
|
ports:
|
||||||
|
- name: webrtc-tcp
|
||||||
|
protocol: TCP
|
||||||
|
port: 8555
|
||||||
|
targetPort: webrtc-tcp
|
||||||
|
- name: webrtc-udp
|
||||||
|
protocol: UDP
|
||||||
|
port: 8555
|
||||||
|
targetPort: webrtc-udp
|
||||||
Reference in New Issue
Block a user