diff --git a/kube/deploy/apps/go2rtc/app/config/go2rtc.yaml b/kube/deploy/apps/go2rtc/app/config/go2rtc.yaml index 33e1f312..356fb559 100644 --- a/kube/deploy/apps/go2rtc/app/config/go2rtc.yaml +++ b/kube/deploy/apps/go2rtc/app/config/go2rtc.yaml @@ -23,7 +23,8 @@ rtsp: streams: living_room_c220: onvif://${TAPO_C220_LIVING_ROOM_USERNAME}:${TAPO_C220_LIVING_ROOM_PASSWORD}@${TAPO_C220_LIVING_ROOM_HOST}:2020 - living_room_c220_homekit: ffmpeg:living_room_c220#audio=opus # #video=h264 # no need to transcode video as C220 is already 2650x1440@15 H264 + living_room_c220_rtsp: rtsp://${TAPO_C220_LIVING_ROOM_USERNAME}:${TAPO_C220_LIVING_ROOM_PASSWORD}@${TAPO_C220_LIVING_ROOM_HOST}:554/stream1 + living_room_c220_homekit: ffmpeg:living_room_c220_rtsp#audio=opus#video=copy # #video=h264 # no need to transcode video as C220 is already 2650x1440@15 H264 homekit: living_room_c220_homekit: diff --git a/kube/deploy/apps/go2rtc/app/multus.yaml b/kube/deploy/apps/go2rtc/app/multus.yaml new file mode 100644 index 00000000..9a1bf168 --- /dev/null +++ b/kube/deploy/apps/go2rtc/app/multus.yaml @@ -0,0 +1,27 @@ +--- +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: iot + namespace: go2rtc + annotations: + description: VLAN tagging based on MAC handled by FortiSwitch NAC +spec: + config: |- + { + "cniVersion": "0.3.1", + "name": "iot", + "plugins": [ + { + "type": "bridge", + "bridge": "br0", + "capabilities": { "ips": true, "mac": true }, + "ipam": { + "type": "static", + "routes": [ + { "dst": "224.0.0.0/4", "gw": "${IP_ROUTER_VLAN_IOT}" } + ] + } + } + ] + }