Homebridge 1.5.0 in containerized environments encounter issues streaming in HomeKit.
**Describe The Problem:**
I noticed that cameras stopped working. Actually only snapshots (previews in homekit) work and update. When I try to open camera - nothing happens, after 30sec timeout I am getting homekit error.  Everything worked previously.
I tried to fix this by updating my system: nodejs16, latest homebridge-ffmpeg, all ubuntu packages.

**To Reproduce:**
Unknown.

**Logs:**
```
[7/26/2022, 8:13:24 AM] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge) is running on port 51790.
[7/26/2022, 8:13:25 AM] [UniFi Protect] UDM-Pro [UDM-PRO]: Connected to the UniFi Protect controller API (address: 192.168.1.1 mac: 74ACB945D2D9).
[7/26/2022, 8:13:25 AM] [UniFi Protect] UDM-Pro [UDM-PRO]: Connected to the UniFi Protect realtime update events API.
[7/26/2022, 8:13:25 AM] [UniFi Protect] UDM-Pro [UDM-PRO]: Discovered camera: Dvor [UVC G4 Dome] (address: 192.168.1.139 mac: 74ACB99E071A).
[7/26/2022, 8:13:25 AM] [UniFi Protect] UDM-Pro [UDM-PRO]: Discovered camera: Kabinet [UVC G4 Dome] (address: 192.168.1.165 mac: 74ACB9014E80).
[7/26/2022, 8:13:25 AM] [UniFi Protect] UDM-Pro [UDM-PRO]: Controller refresh interval set to 10 seconds.
[7/26/2022, 8:13:25 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Dvor [UVC G4 Dome]: HomeKit Secure Video support enabled.
[7/26/2022, 8:13:25 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: HomeKit Secure Video support enabled.
[7/26/2022, 8:13:25 AM] [UniFi Protect] UDM-Pro [UDM-PRO]: Connected to MQTT broker: mqtt://127.0.0.1 (topic: unifi/protect).
[7/26/2022, 8:13:36 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: Snapshot triggered via MQTT.
[7/26/2022, 8:13:36 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Dvor [UVC G4 Dome]: Snapshot triggered via MQTT.
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: Streaming request from 10.8.0.4: 1280x720@30fps, 299 kbps. Using 1280x720@24fps (Medium), 2000 kbps.
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: ffmpeg command: /usr/lib/node_modules/homebridge-unifi-protect/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -probesize 16384 -max_delay 500000 -r 24 -rtsp_transport tcp -i rtsps://192.168.1.1:7441/yNzGiz4v5kWoBGvm?enableSrtp -map 0:v:0 -vcodec copy -payload_type 99 -ssrc 16618575 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params OYt7gpZnLQtwtqjul9WR27cDH15HX9UGeSl9Pqec srtp://10.8.0.4:58060?rtcpport=58060&localrtcpport=58060&pkt_size=564 -map 0:a:0 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 48k -ac 1 -payload_type 110 -ssrc 8173775 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params 59HKxoVDoFFQy0Sb9acODCX6tzMONxhuqYeWZe4y srtp://10.8.0.4:64058?rtcpport=64058&localrtcpport=64058&pkt_size=188 -loglevel level+verbose
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [tcp @ 0x56101bceb780] [verbose] Starting connection attempt to 192.168.1.1 port 7441
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [tcp @ 0x56101bceb780] [verbose] Successfully connected to 192.168.1.1 port 7441
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [rtsp @ 0x56101bce7e80] [verbose] SDP:
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: v=0
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: o=- 13342 0 IN IP4 192.168.1.1
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: s=74ACB9014E80_1
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: u=www.evostream.com
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: e=contact@evostream.com
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: c=IN IP4 192.168.1.1
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: t=0 0
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=recvonly
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=control:*
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=range:npt=now-
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: m=audio 0 RTP/AVP 96
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=recvonly
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=rtpmap:96 mpeg4-generic/48000/1
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=control:trackID=0
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1188; SizeLength=13; IndexLength=3; IndexDeltaLength=3;
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:76emCqWAnVFQvM4/azEPIPWMqHJtICgVE/sWHS3D
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: m=audio 0 RTP/AVP 96
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=recvonly
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=rtpmap:96 opus/48000/2
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=control:trackID=1
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=fmtp:96
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:sWNkMe9mpTy1TXgeeS/vXIPWxC0Lcsx38GuIY29z
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: m=video 0 RTP/AVP 97
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=recvonly
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=control:trackID=2
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=rtpmap:97 H264/90000
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=fmtp:97 profile-level-id=4d401f; packetization-mode=1; sprop-parameter-sets=Z01AH42NQCgC3/gLcBAQFAAAD6AAAF3CdoIhGoA=,aO44gA==
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:ZSwvd1HBtzHNldZp09TrCCOSXn13lcotPTaUTlIG
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [rtsp @ 0x56101bce7e80] [verbose] setting jitter buffer size to 0
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [rtsp @ 0x56101bce7e80] [verbose] setting jitter buffer size to 0
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [rtsp @ 0x56101bce7e80] [verbose] setting jitter buffer size to 0
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [h264 @ 0x56101bd15ec0] [verbose] Reinit context to 1280x720, pix_fmt: yuvj420p
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [rtsp @ 0x56101bce7e80] [warning] Stream #2: not enough frames to estimate rate; consider increasing probesize
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info] Input #0, rtsp, from 'rtsps://192.168.1.1:7441/yNzGiz4v5kWoBGvm?enableSrtp':
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]   Metadata:
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]     title           : 74ACB9014E80_1
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]   Duration: N/A, start: 0.000000, bitrate: N/A
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]   Stream #0:0: Audio: aac (LC), 48000 Hz, mono, fltp
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]   Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]   Stream #0:2: Video: h264 (Main), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1280x720 [SAR 1:1 DAR 16:9], 3 tbr, 90k tbn
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info] Output #0, rtp, to 'srtp://10.8.0.4:58060?rtcpport=58060&localrtcpport=58060&pkt_size=564':
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]   Metadata:
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]     title           : 74ACB9014E80_1
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]     encoder         : Lavf59.16.100
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]   Stream #0:0: Video: h264 (Main), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1280x720 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 3 tbr, 90k tbn
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info] Stream mapping:
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]   Stream #0:2 -> #0:0 (copy)
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]   Stream #0:0 -> #1:0 (aac (native) -> aac (libfdk_aac))
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info] Press [q] to stop, [?] for help
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [graph_0_in_0_0 @ 0x56101bdc2fc0] [verbose] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x4
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [format_out_1_0 @ 0x56101bdc4180] [verbose] auto-inserting filter 'auto_aresample_0' between the filter 'Parsed_anull_0' and the filter 'format_out_1_0'
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [auto_aresample_0 @ 0x56101bdc4e40] [verbose] ch:1 chl:mono fmt:fltp r:48000Hz -> ch:1 chl:mono fmt:s16 r:16000Hz
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info] Output #1, rtp, to 'srtp://10.8.0.4:64058?rtcpport=64058&localrtcpport=64058&pkt_size=188':
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]   Metadata:
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]     title           : 74ACB9014E80_1
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]     encoder         : Lavf59.16.100
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]   Stream #1:0: Audio: aac (ELD), 16000 Hz, mono, s16, delay 288, 24 kb/s
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]     Metadata:
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info]       encoder         : Lavc59.18.100 libfdk_aac
[7/26/2022, 8:13:51 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [rtp @ 0x56101bdb7180] [warning] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[7/26/2022, 8:13:52 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [libfdk_aac @ 0x56101bd97bc0] [warning] Queue input is backward in time
[7/26/2022, 8:13:52 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [rtp @ 0x56101bdb6080] [warning] Non-monotonous DTS in output stream 1:0; previous: 25824, current: 25540; changing to 25824. This may result in incorrect timestamps in the output file.
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: Stopped video streaming session.
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info] video:5674kB audio:88kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.071732%
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [verbose] Input file #0 (rtsps://192.168.1.1:7441/yNzGiz4v5kWoBGvm?enableSrtp):
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [verbose]   Input stream #0:0 (audio): 1404 packets read (229788 bytes); 1404 frames decoded (1437696 samples); 
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [verbose]   Input stream #0:1 (audio): 1498 packets read (121338 bytes); 
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [verbose] 
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]:   Input stream #0:2 (video): 513 packets read (5810071 bytes); 
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [verbose]   Total: 3415 packets (6161197 bytes) demuxed
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [verbose] Output file #0 (srtp://10.8.0.4:58060?rtcpport=58060&localrtcpport=58060&pkt_size=564):
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [verbose]   Output stream #0:0 (video): 513 packets muxed (5810071 bytes); 
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [verbose]   Total: 513 packets (5810071 bytes) muxed
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [verbose] Output file #1 (srtp://10.8.0.4:64058?rtcpport=64058&localrtcpport=64058&pkt_size=188):
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [verbose]   Output stream #1:0 (audio): 935 frames encoded (478720 samples); 936 packets muxed (90003 bytes); 
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [verbose]   Total: 936 packets (90003 bytes) muxed
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [AVIOContext @ 0x56101bdb5dc0] [verbose] Statistics: 5963307 bytes written, 0 seeks, 11132 writeouts
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [AVIOContext @ 0x56101bd2b4c0] [verbose] Statistics: 105147 bytes written, 0 seeks, 942 writeouts
[7/26/2022, 8:14:21 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: [info] Exiting normally, received signal 15.
[7/26/2022, 8:14:36 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Kabinet [UVC G4 Dome]: Snapshot triggered via MQTT.
[7/26/2022, 8:14:36 AM] [UniFi Protect] UDM-Pro [UDM-PRO] Dvor [UVC G4 Dome]: Snapshot triggered via MQTT.

```

**Homebridge Configuration:**

```json
{
    "controllers": [
        {
            "address": "192.168.1.1",
            "mqttTopic": "unifi/protect",
            "mqttUrl": "mqtt://127.0.0.1",
            "password": "password",
            "username": "username"
        }
    ],
    "verboseFfmpeg": false,
    "platform": "UniFi Protect"
}
```

**Screenshots:**
![2022-07-26_08-25-37](https://user-images.githubusercontent.com/1624839/180929901-adcde747-264e-4587-902c-23f874d70a9d.png)


**Environment:**

* **Homebridge Version:** 1.5.0
* **Node Version:** 16.16.0
* **Homebridge-UniFi-Protect Plugin Version:** 5.5.4
* **UniFi Protect Version:**  2.1.1
* **UniFi Protect Controller Type:** UDMP
* **UniFi Protect Controller Firmware Version:** 1.12.22
* **Apple Device and iOS / macOS / iPadOS / tvOS Version:** iOS 15, iphone 12
* **Operating System and OS Version:** Ubuntu

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