v4.0.0 Encountered unexpected error for recording stream 1
<!-- You must use the issue template below -->

**Describe The Problem:**

<!-- A clear and concise description of what the bug is. -->

**To Reproduce:**

Set:
`http://192.168.1.20:80/doorbell?Przed%20domem` or `http://192.168.1.20:80/motion?Przed%20domem`

**Logs:**
Response:
```
{"error":false,"message":"Doorbell switched on."}
```

**Homebridge Log:**
```
[1/31/2025, 10:18:03 AM] [PluginUpdate] [Przed domem] Recording stream request received for stream ID: 1
[HDS fe80::18a7:40f9:9998:bba8%en0] Encountered unexpected error for recording stream 1: TypeError: Cannot read properties of undefined (reading 'length')
    at CameraRecordingStream._startStreaming (/opt/homebrew/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/camera/RecordingManagement.ts:1020:34)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
[1/31/2025, 10:18:03 AM] [PluginUpdate] [Przed domem] Recording stream closed for stream ID: 1, reason: 5
```

**Homebridge Config:**

```json
{
    "name": "PluginUpdate",
    "videoProcessor": "/opt/homebrew/bin/ffmpeg",
    "porthttp": 80,
    "localhttp": false,
    "cameras": [
        {
            "name": "Za domem",
            "manufacturer": "Boavision",
            "model": "IPD-E2A5L18-BS",
            "serialNumber": "",
            "motion": true,
            "doorbell": true,
            "switches": false,
            "motionDoorbell": true,
            "videoConfig": {
                "source": "-i rtsp://192.168.1.27/1/h264major",
                "stillImageSource": "-i http://192.168.1.27/jpgmulreq/1/image.jpg",
                "recording": true,
                "prebuffer": true
            }
        },
        {
            "name": "Przed domem",
            "manufacturer": "Boavision",
            "model": "IPD-E2A5L18-BS",
            "serialNumber": "",
            "motion": true,
            "doorbell": true,
            "motionDoorbell": true,
            "videoConfig": {
                "source": "-i rtsp://192.168.1.26/1/h264major",
                "stillImageSource": "-i http://192.168.1.26/jpgmulreq/1/image.jpg",
                "recording": true,
                "prebuffer": true
            }
        }
    ],
    "_bridge": {
        "username": "0E:4E:51:49:18:A4",
        "port": 47000
    },
    "platform": "Camera-ffmpeg"
}
```

**Screenshots:**

<!-- If applicable, add screenshots to help explain your problem. -->

**Environment:**

- **Node.js Version**: 23.7
- **NPM Version**: <!-- npm -v -->
- **Homebridge Version**:2.0.0-bet.27
- **Homebridge Camera FFmpeg Version**: 4.0
- **Homebridge Config UI X Plugin Version**: 5.0.0-beta.42
- **Operating System**: macOS

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
