Camera UI Maxing CPU on Raspberry Pi 3 B
Running Homebridge on Raspberry Pi 3 B and seeing CPU usage at 100% while running Camera-UI on Homebridge. The stream itself works fine seemingly but the Pi is maxed as soon as it starts up. I am using Ubiquiti cameras and had only added 1 G3 Pro and the G4 Doorbell to the mix. Config for both is after environment.


- Node.js Version: v16.13.2
- Homebridge Version: v1.4.0-beta.7
- Camera UI Version: v5.0.8
- Operating System: Raspbian GNU/Linux Buster (10)
- Browser: Safari 15.2


`{
            "name": "CameraUI",
            "port": 8081,
            "debug": false,
            "mqtt": {
                "active": false
            },
            "http": {
                "active": false
            },
            "smtp": {
                "active": false
            },
            "ftp": {
                "active": false
            },
            "ssl": {
                "active": false
            },
            "cameras": [
                {
                    "name": "Doorbell",
                    "motion": true,
                    "unbridge": true,
                    "hsv": true,
                    "prebuffering": true,
                    "prebufferLength": 4,
                    "videoConfig": {
                        "source": "-i rtsps://192.168.10.1:7441/eL0Tmi7OaeBH8037?enableSrtp",
                        "rtspTransport": "tcp",
                        "maxStreams": 2,
                        "vcodec": "copy",
                        "acodec": "libfdk_aac",
                        "stimeout": 10,
                        "audio": false
                    },
                    "videoanalysis": {
                        "active": true
                    }
                },
                {
                    "name": "Driveway",
                    "motion": true,
                    "unbridge": true,
                    "hsv": true,
                    "prebuffering": true,
                    "prebufferLength": 4,
                    "videoConfig": {
                        "source": "-rtsp_transport tcp -re -i rtsps://192.168.10.1:7441/u4jkNu7rv5RjyQgT?enableSrtp",
                        "rtspTransport": "tcp",
                        "maxStreams": 2,
                        "vcodec": "copy",
                        "acodec": "libfdk_aac",
                        "stimeout": 10,
                        "audio": false
                    },
                    "videoanalysis": {
                        "active": true
                    }
                }
            ],
            "platform": "CameraUI"
        }`
