Stream seems ok but not 
<!-- BUG REPORTS THAT ARE NOT FILLED OUT COMPLETELY WILL BE CLOSED AUTOMATICALLY WITHOUT WARNING AND WILL NOT RECEIVE A RESPONSE. THE FORM IS HERE FOR A REASON. :). -->
<!-- Please ensure you read the documentation before creating a support request, especially the Troubleshooting page. -->
<!-- BUG REPORTS ABOUT BETA VERSIONS OF UNIFI / UBIQUITI FIRMWARE OR EARLY-ACCESS/BETA HARDWARE WILL BE CLOSED WITHOUT A RESPONSE. ALL BETA RELEASES FROM UBIQUITI ARE UNSUPPORTED -->

**Describe The Problem:**
Hello,

I've just installed Unifi Protect on my homebridge. All seems to be good. I can access to my camera stream for few minutes without any issue BUT I've to restart homebridge UI. After restard, immediatly, stream stops to works but only when I click on large view of the camera. Stream is ok in thumbnail. Hope i'm clear... Please see sreenshot.

**To Reproduce:**
Install plugin, all is ok. restart homebridge UI, no stream in full screen

**Logs:**
<!-- In order to be helpful, include the relevant logs from Homebridge, if applicable. -->
Here are verbose log
```
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: Streaming request from 192.168.1.86: 1920x1080@30fps, 802 kbps. Using 1920x1080@30fps (High), 3000 kbps.
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: ffmpeg command: /var/lib/homebridge/node_modules/homebridge-unifi-protect/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -probesize 16384 -max_delay 500000 -r 30 -rtsp_transport tcp -i rtsps://192.168.1.1:7441/D3tbGcUNWsxCZBE0?enableSrtp -map 0:v:0 -vcodec copy -payload_type 99 -ssrc 10107331 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params fRd52YO6I2gDxSeLj2mO3lZxOIYjxR5jy45jLObG srtp://192.168.1.86:50171?rtcpport=50171&localrtcpport=50171&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 8247547 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params e/aYbmfCuuZuCrTnR0UOIoJ5PEbfvtjBIVYcViz1 srtp://192.168.1.86:57861?rtcpport=57861&localrtcpport=57861&pkt_size=188 -loglevel level+verbose
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [tcp @ 0x3bdf6b0] [verbose] Starting connection attempt to 192.168.1.1 port 7441
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [tcp @ 0x3bdf6b0] [verbose] Successfully connected to 192.168.1.1 port 7441
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [rtsp @ 0x3bdc7d0] [verbose] SDP:
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: v=0
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: o=- 383 0 IN IP4 192.168.1.1
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: s=D021F9956171_0
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: u=www.evostream.com
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: e=contact@evostream.com
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: c=IN IP4 192.168.1.1
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: t=0 0
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=recvonly
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=control:*
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=range:npt=now-
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: m=audio 0 RTP/AVP 96
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=recvonly
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=rtpmap:96 mpeg4-generic/16000/1
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=control:trackID=0
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1408; SizeLength=13; IndexLength=3; IndexDeltaLength=3;
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:3W1cBxHLiiMHexMJg2zaGpjnNE+M2fUh2vlFZ+d2
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: m=audio 0 RTP/AVP 96
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=recvonly
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=rtpmap:96 opus/48000/2
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=control:trackID=1
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=fmtp:96
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:0+S8ex6sRwkCOzQv5b/OWwy6mUnTio9bWErAex4S
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: m=video 0 RTP/AVP 97
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=recvonly
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=control:trackID=2
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=rtpmap:97 H264/90000
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=fmtp:97 profile-level-id=4d4028; packetization-mode=1; sprop-parameter-sets=Z01AKKaAeAIn5ZuAgICgAAB9IAAdU5O0EQjU,aO48gA==
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:XU0MFatOwUABwzkQHVTuUjh7wX2t/oMIlWhodTss
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [rtsp @ 0x3bdc7d0] [verbose] setting jitter buffer size to 0
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [rtsp @ 0x3bdc7d0] [verbose] setting jitter buffer size to 0
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [rtsp @ 0x3bdc7d0] [verbose] setting jitter buffer size to 0
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [h264 @ 0x3bf8620] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [rtsp @ 0x3bdc7d0] [warning] Stream #2: not enough frames to estimate rate; consider increasing probesize
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info] Input #0, rtsp, from 'rtsps://192.168.1.1:7441/D3tbGcUNWsxCZBE0?enableSrtp':
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]   Metadata:
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]     title           : D021F9956171_0
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]   Duration: N/A, bitrate: N/A
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]   Stream #0:0: Audio: aac, 16000 Hz, mono, fltp
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]   Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]   Stream #0:2: Video: h264 (Main), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1920x1080 (1920x1088), 30 tbr, 90k tbn
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info] Output #0, rtp, to 'srtp://192.168.1.86:50171?rtcpport=50171&localrtcpport=50171&pkt_size=564':
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]   Metadata:
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]     title           : D021F9956171_0
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]     encoder         : Lavf59.16.100
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]   Stream #0:0: Video: h264 (Main), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1920x1080 (0x0), q=2-31, 30 tbr, 90k tbn
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info] Stream mapping:
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]   Stream #0:2 -> #0:0 (copy)
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]   Stream #0:0 -> #1:0 (aac (native) -> aac (libfdk_aac))
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info] Press [q] to stop, [?] for help
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [graph_0_in_0_0 @ 0x3c4f9d0] [verbose] tb:1/16000 samplefmt:fltp samplerate:16000 chlayout:0x4
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [format_out_1_0 @ 0x3c155c0] [verbose] auto-inserting filter 'auto_aresample_0' between the filter 'Parsed_anull_0' and the filter 'format_out_1_0'
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [auto_aresample_0 @ 0x3c16100] [verbose] ch:1 chl:mono fmt:fltp r:16000Hz -> ch:1 chl:mono fmt:s16 r:16000Hz
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info] Output #1, rtp, to 'srtp://192.168.1.86:57861?rtcpport=57861&localrtcpport=57861&pkt_size=188':
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]   Metadata:
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]     title           : D021F9956171_0
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]     encoder         : Lavf59.16.100
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]   Stream #1:0: Audio: aac (ELD), 16000 Hz, mono, s16, delay 288, 24 kb/s
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]     Metadata:
[24/03/2023, 06:39:33] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info]       encoder         : Lavc59.18.100 libfdk_aac
[24/03/2023, 06:39:35] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info] 
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: Stopped video streaming session.
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info] video:3471kB audio:88kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.150787%
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [verbose] Input file #0 (rtsps://192.168.1.1:7441/D3tbGcUNWsxCZBE0?enableSrtp):
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [verbose]   Input stream #0:0 (audio): 466 packets read (235330 bytes); 466 frames decoded
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]:  (477184 samples); 
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [verbose]   Input stream #0:1 (audio): 1495 packets read (240606 bytes); 
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [verbose]   Input stream #0:2 (video): 899 packets read (3556597 bytes); 
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [verbose]   Total: 2860 packets (4032533 bytes) demuxed
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [verbose] Output file #0 (srtp://192.168.1.86:50171?rtcpport=50171&localrtcpport=50171&pkt_size=564):
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [verbose]   Output stream #0:0 (video): 898 packets muxed (3553864 bytes); 
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [verbose]   Total: 898 packets (3553864 bytes) muxed
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [verbose] Output file #1 (srtp://192.168.1.86:57861?rtcpport=57861&localrtcpport=57861&pkt_size=188):
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [verbose]   Output stream #1:0 (audio): 932 frames encoded (477184 samples); 933 packets muxed (89698 bytes); 
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [verbose]   Total: 933 packets (89698 bytes) muxed
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [AVIOContext @ 0x3c86270] [verbose] Statistics: 3649056 bytes written, 0 seeks, 7117 writeouts
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [AVIOContext @ 0x3c0fcf0] [verbose] Statistics: 104794 bytes written, 0 seeks, 939 writeouts
[24/03/2023, 06:40:03] [UniFi Protect] UDMPRO [UDM-PRO] G3 Instant [UVC G3 Instant]: [info] Exiting normally, received signal 15.
```

**Homebridge Configuration:**

```json

    {
            "controllers": [
                {
                    "address": "192.168.1.1",
                    "password": "mypassword",
                    "username": "myusername"
                }
            ],
            "platform": "UniFi Protect"

```

**Screenshots:**
![IMG_0078](https://user-images.githubusercontent.com/89965535/227453725-12ef09dc-8c7e-4a1e-a5bb-3ba90cc09f97.PNG)

**Environment:**

* **Homebridge Version:** 1.6
* **Node Version:** 18.12.1
* **Homebridge-UniFi-Protect Plugin Version:** 5.5.4
* **UniFi Protect Version:** 2.2.11
* **UniFi Protect Controller Type:** UDMP
* **UniFi Protect Controller Firmware Version:** 2.5.17
* **Apple Device and iOS / macOS / iPadOS / tvOS Version:** Iphone with iOS  16.3.1 iPad iPad06 16.3.1
* **Operating System and OS Version:** Raspbian

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