Some motion events are not recorded
**Describe The Problem:**
Thanks for writing this great plugin! Regarding the problem, some motion events are not recorded (with the default quality settings). When setting the quality to medium, everything is stable. I do, however, like to record in high quality since face recognition works way better this way. I did notice that when a motion event is detected with high-quality settings, I see CPU spikes of 97% utilization. When opening multiple streams (On Apple TV high, iPad medium) CPU utilization peaks at 7%. I'm trying to understand what's going wrong here:
1. What is so heavy about motion detection recording vs. opening streams?
2. Is my NAS underpowered to perform high quality recordings?
3. I also don't have the newest Apple TV (2020 model) could it be timing out on high-quality recordings?

**Network**
```
Cameras (GbE) => USW-Pro-24-POE Gen2 (10GbE) => UDMP (GbE) => NAS
                                                     (Gbe) => Apple TV
```

**To Reproduce:**
Jump in front of the camera, so motion gets detected.

**Logs:**
When jumping in front of the camera to trigger a motion event, I sometimes get this in the logs, I also notice high CPU spikes (97%) when recording a motion event:
```
[10/31/2022, 11:38:03 AM] [homebridge-unifi-protect] Home [UDM-PRO] Front door [UVC G4 Pro]: HomeKit Secure Video event recording ended abnormally: The request timed out.
```

When opening multiple streams from multiple devices CPU utilization peaks at 7%:
```
[10/31/2022, 12:07:55 PM] [homebridge-unifi-protect] Home [UDM-PRO] Front door [UVC G4 Pro]: Streaming request from 192.168.1.243: 1920x1080@30fps, 802 kbps. Using 3840x2160@24fps (High), 16000 kbps.
[10/31/2022, 12:08:02 PM] [homebridge-unifi-protect] Home [UDM-PRO] Front door [UVC G4 Pro]: Streaming request from 192.168.1.21: 1920x1080@30fps, 802 kbps. Using 3840x2160@24fps (High), 16000 kbps.
[10/31/2022, 12:08:11 PM] [homebridge-unifi-protect] Home [UDM-PRO] Front door [UVC G4 Pro]: Streaming parameters adjustment requested by HomeKit: 1280x720, 30 fps, 299 kbps.
[10/31/2022, 12:08:13 PM] [homebridge-unifi-protect] Home [UDM-PRO] Front door [UVC G4 Pro]: Streaming request from 192.168.1.243: 1280x720@30fps, 299 kbps. Using 1280x720@24fps (Medium), 4000 kbps.
[10/31/2022, 12:08:15 PM] [homebridge-unifi-protect] Home [UDM-PRO] Front door [UVC G4 Pro]: Streaming parameters adjustment requested by HomeKit: 640x360, 30 fps, 132 kbps.
[10/31/2022, 12:08:19 PM] [homebridge-unifi-protect] Home [UDM-PRO] Front door [UVC G4 Pro]: Streaming parameters adjustment requested by HomeKit: 640x360, 30 fps, 132 kbps.
```

**Homebridge Configuration:**

```json
{
  "bridge": {
      "name": "Homebridge BC33",
      ...
      "bind": [
          "eth1"
      ]
  },
  "accessories:" [
    ...
  ],
  "platforms": [
      {
          "name": "Config",
          "port": ****,
          "platform": "config"
      },
      {
        "controllers": [
            {
                "address": "*.*.*.*",
                "password": "**********",
                "refreshInterval": 5,
                "username": "**********"
            }
        ],
        "motionDuration": 5,
        "platform": "UniFi Protect",
        "_bridge": {
            "username": "**:**:**:**:**:**",
            "port": ****
        }
    },
    ...
  ]
}
```

**Environment:**

* **Homebridge Version:** 1.5.0
* **Node Version:** 14.16.0
* **Homebridge-UniFi-Protect Plugin Version:** 5.5.4
* **UniFi Protect Version:** 2.2.6
* **UniFi Protect Controller Type:** UDMP
* **UniFi Protect Controller Firmware Version:** 1.12.30
* **Apple Device and iOS / macOS / iPadOS / tvOS Version:** Apple TV 4K (A1842), tvOS 16.0
* **Operating System and OS Version:** Docker on Synology NAS (DS1019+)
