mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 18:18:26 +00:00
fix(go2rtc): use RTSP for HomeKit
This commit is contained in:
@@ -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:
|
||||
|
||||
27
kube/deploy/apps/go2rtc/app/multus.yaml
Normal file
27
kube/deploy/apps/go2rtc/app/multus.yaml
Normal file
@@ -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}" }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user