Alt-tabbing from Home app, and then back to Home app, will not restart stream. 
<!-- 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:**
When viewing a stream that is being facilitated by HB, I look at the stream via the Home app (on iOS or macOS) and then alt-tabbing/changing apps away then coming back the stream will not restart. Just a blurry image of the last frame and the dot next to the name of the camera is blue instead of red. Waiting will never resume the stream, I need to exit this camera view completely and return to it for it to work again. 

This is definitely a regression as this didn't used to happen when I first set this system up over a year ago. Started in the past couple months. 

**To Reproduce:**
Uncertain. 

**Logs:**
```
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] dalan-UCKP [UCK-G2-PLUS] CallumCam [UVC G3 Instant]: Streaming request from 192.168.2.83: 1280x720@30fps, 299 kbps. Using RTSP stream profile: 1920x1080@30fps (High), 6000 kbps.
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] dalan-UCKP [UCK-G2-PLUS] CallumCam [UVC G3 Instant]: ffmpeg command: /homebridge/node_modules/homebridge-unifi-protect/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -rtsp_transport tcp -i rtsp://dalan-UCKP.wifi.home:7447/bh12UUmHPEdR03dy -map 0:v -vcodec copy -payload_type 99 -ssrc 2621879 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params oFkovBxjFmiqrQbpRuEM8ZRMNLBb0TpskXh/hmLZ srtp://192.168.2.83:64016?rtcpport=64016&localrtcpport=64016&pkt_size=564 -map 0:a -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 5395345 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params SKDnn2fxn3T8j5rbbmSrGrFcsrhoMG/hHwmuuq87 srtp://192.168.2.83:54742?rtcpport=54742&localrtcpport=54742&pkt_size=188 -loglevel level+verbose
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] dalan-UCKP [UCK-G2-PLUS] CallumCam [UVC G3 Instant]: ffmpeg command: /homebridge/node_modules/homebridge-unifi-protect/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -protocol_whitelist pipe,udp,rtp,file,crypto -f sdp -acodec libfdk_aac -ac 1 -i pipe:0 -acodec aac -flags +global_header -ar 22050 -b:a 64k -f adts - -loglevel level+verbose
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [sdp @ 0x7f42af9ee080] [verbose] setting jitter buffer size to 500
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [tcp @ 0x7f7fcf24e780] [verbose] Starting connection attempt to 192.168.2.195 port 7447
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [tcp @ 0x7f7fcf24e780] [verbose] Successfully connected to 192.168.2.195 port 7447
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [rtsp @ 0x7f7fcf24e080] [verbose] SDP:
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] v=0
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] o=- 49 0 IN IP4 192.168.2.195
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] s=74ACB99E1829_0
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] u=www.evostream.com
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] e=contact@evostream.com
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] c=IN IP4 192.168.2.195
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] t=0 0
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] a=recvonly
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] a=control:*
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] a=range:npt=now-
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] m=audio 0 RTP/AVP 96
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] a=recvonly
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] a=rtpmap:96 mpeg4-generic/16000/1
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] a=control:trackID=0
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1408; SizeLength=13; IndexLength=3; IndexDeltaLength=3;
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] m=video 0 RTP/AVP 97
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] a=recvonly
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] a=control:trackID=1
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] a=rtpmap:97 H264/90000
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] a=fmtp:97 profile-level-id=4d4028; packetization-mode=1; sprop-parameter-sets=Z01AKKaAeAIn5ZuAgICgAAB9IAAdU5O0EQjU,aO48gA==
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [rtsp @ 0x7f7fcf24e080] [verbose] setting jitter buffer size to 0
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [rtsp @ 0x7f7fcf24e080] [verbose] setting jitter buffer size to 0
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [h264 @ 0x562837856940] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] dalan-UCKP [UCK-G2-PLUS] CallumCam [UVC G3 Instant]: Stopped video streaming session.
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [warning] Guessed Channel Layout for Input Stream #0.0 : mono
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] Input #0, sdp, from 'pipe:0':
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]   Metadata:
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     title           : dalan-UCKP [UCK-G2-PLUS] CallumCam [UVC G3 Instant] Audio Talkback
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]   Duration: N/A, bitrate: N/A
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     Stream #0:0: Audio: aac, 16000 Hz, mono, s16
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] Input #0, rtsp, from 'rtsp://dalan-UCKP.wifi.home:7447/bh12UUmHPEdR03dy':
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]   Metadata:
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     title           : 74ACB99E1829_0
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]   Duration: N/A, start: 0.000000, bitrate: N/A
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     Stream #0:0: Audio: aac (LC), 16000 Hz, mono, fltp
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     Stream #0:1: Video: h264 (Main), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1920x1080 (1920x1088), 30 fps, 29.92 tbr, 90k tbn, 60 tbc
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] Stream mapping:
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] Output #0, rtp, to 'srtp://192.168.2.83:64016?rtcpport=64016&localrtcpport=64016&pkt_size=564':
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]   Metadata:
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     title           :
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] 74ACB99E1829_0
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     encoder         : Lavf58.45.100
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     Stream #0:0: Video: h264 (Main), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1920x1080 (0x0), q=2-31, 30 fps, 29.92 tbr, 90k tbn, 30 tbc
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] Stream mapping:
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]   Stream #0:1 -> #0:0 (copy)
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]   Stream #0:0 -> #1:0 (aac (native) -> aac (libfdk_aac))
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] Press [q] to stop, [?] for help
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [warning] Finishing stream 1:0 without any data written to it.
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]   Stream #0:0 -> #0:0 (aac (libfdk_aac) -> aac (native))
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [warning] Finishing stream 0:0 without any data written to it.
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [graph_0_in_0_0 @ 0x558d3f28ce40] [verbose] tb:1/16000 samplefmt:s16 samplerate:16000 chlayout:0x4
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [format_out_0_0 @ 0x558d3f2ad500] [verbose] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [graph_0_in_0_0 @ 0x56283799f880] [verbose] tb:1/16000 samplefmt:fltp samplerate:16000 chlayout:0x4
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [format_out_1_0 @ 0x56283799ffc0] [verbose] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_1_0'
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [auto_resampler_0 @ 0x5628379a0b80] [verbose] ch:1 chl:mono fmt:fltp r:16000Hz -> ch:1 chl:mono fmt:s16 r:16000Hz
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] Output #1, rtp, to 'srtp://192.168.2.83:54742?rtcpport=54742&localrtcpport=54742&pkt_size=188':
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]   Metadata:
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     title           : 74ACB99E1829_0
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     encoder         : Lavf58.45.100
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     Stream #1:0: Audio: aac (libfdk_aac) (ELD), 16000 Hz, mono, s16, delay 288, 24 kb/s
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [auto_resampler_0 @ 0x558d3f2ae240] [verbose] ch:1 chl:mono fmt:s16 r:16000Hz -> ch:1 chl:mono fmt:fltp r:22050Hz
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] Output #0, adts, to 'pipe:':
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]   Metadata:
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     title           : dalan-UCKP [UCK-G2-PLUS] CallumCam [UVC G3 Instant] Audio Talkback
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     encoder         : Lavf58.45.100
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     Stream #0:0: Audio: aac (LC), 22050 Hz, mono, fltp, delay 1024, 64 kb/s
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     Metadata:
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]       encoder         : Lavc58.91.100 aac
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose] Input file #0 (pipe:0):
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose]   Input stream #0:0 (audio): 0 packets read (0 bytes); 0 frames decoded (0 samples);
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose]   Total: 0 packets (0 bytes) demuxed
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose] Output file #0 (pipe:):
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose]   Output stream #0:0 (audio): 0 frames encoded (0 samples); 0 packets muxed (0 bytes);
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose]   Total: 0 packets (0 bytes) muxed
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [AVIOContext @ 0x558d3f2a4140] [verbose] Statistics: 0 seeks, 0 writeouts
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [aac @ 0x558d3f2a33c0] [info] Qavg: -nan
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [AVIOContext @ 0x7f42af9ee6c0] [verbose] Statistics: 390 bytes read, 0 seeks
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] Exiting normally, received signal 15.
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]     Metadata:
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info]       encoder         : Lavc58.91.100 libfdk_aac
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [libfdk_aac @ 0x5628378fb780] [warning] Trying to remove 512 samples, but the queue is empty
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] frame=    0 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose] Input file #0 (rtsp://dalan-UCKP.wifi.home:7447/bh12UUmHPEdR03dy):
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose]   Input stream #0:0 (audio): 0 packets read (0 bytes); 0 frames decoded (0 samples);
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose]   Input stream #0:1 (video): 0 packets read (0 bytes);
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose]   Total: 0 packets (0 bytes) demuxed
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose] Output file #0 (srtp://192.168.2.83:64016?rtcpport=64016&localrtcpport=64016&pkt_size=564):
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose]   Output stream #0:0 (video): 0 packets muxed (0 bytes);
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose]   Total: 0 packets (0 bytes) muxed
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose] Output file #1 (srtp://192.168.2.83:54742?rtcpport=54742&localrtcpport=54742&pkt_size=188):
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose]   Output stream #1:0 (audio): 0 frames encoded (0 samples); 0 packets muxed (0 bytes);
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [verbose]   Total: 0 packets (0 bytes) muxed
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [AVIOContext @ 0x5628378f4d40] [verbose] Statistics: 0 seeks, 0 writeouts
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [AVIOContext @ 0x5628379f68c0] [verbose] Statistics: 0 seeks, 0 writeouts
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect] [info] Exiting normally, received signal 15.
homebridge  | [2/5/2022, 4:23:17 PM] [UniFi Protect]
```

**Homebridge Configuration:**

```json
        {
            "controllers": [
                {
                    "address": "dalan-UCKP.wifi.home",
                    "password": "<password>",
                    "username": "hb"
                }
            ],
            "verboseFfmpeg": true,
            "platform": "UniFi Protect"
        }
```

**Screenshots:**
<img width="1379" alt="Screen Shot 2022-02-05 at 4 26 07 pm" src="https://user-images.githubusercontent.com/863286/152629930-f8a255d6-bf5d-40ec-8864-f3815a10d116.png">


**Environment:**

* **Homebridge Version:** 1.4.0
* **Node Version:** v16.13.2
* **Homebridge-UniFi-Protect Plugin Version:** v5.0.6
* **UniFi Protect Version:** 1.21.0
* **UniFi Protect Controller Type:** UCKgen2+
* **UniFi Protect Controller Firmware Version:** (I think) 2.3.14
* **Apple Device and iOS / macOS / iPadOS / tvOS Version:** MBP M1 MacOS 12.2 
* **Operating System and OS Version:** HB is running on an Ubuntu OS Docker Host in a container

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