Stream turns black after a while on macOS
Hello everyone, I have a big problem when configuring my Reolink cams using my 2012 Mac mini with Catalina. The video is looking perfect but after a couple of seconds (literally) the image turns black. The camera become unresponsive and sometimes I fix simply re-opening the cam in Home app, sometimes I even have to restart Homebridge. I tried everything I could think about: changing the video processor, codec, stream source... always the same. 

Here's the log I see when the image is black:

```
[libx264 @ 0x7ffac980d000] frame=2247 QP=28.41 NAL=3 Slice:I Poc:0   I:3600 P:0    SKIP:0    size=14997 bytes

[rtp @ 0x7ffac980be00] Sending NAL 7 of len 23 M=0
[rtp @ 0x7ffac980be00] Sending NAL 8 of len 5 M=0
[rtp @ 0x7ffac980be00] Sending NAL 5 of len 4566 M=0

[rtp @ 0x7ffac980be00] 
NAL size 4566 > 1290

[rtp @ 0x7ffac980be00] 
Sending NAL 5 of len 2981 M=0

[rtp @ 0x7ffac980be00] 
NAL size 2981 > 1290

[rtp @ 0x7ffac980be00] 
Sending NAL 5 of len 3352 M=0

[rtp @ 0x7ffac980be00] 
NAL size 3352 > 1290

[rtp @ 0x7ffac980be00] Sending NAL 5 of len 4050 M=1

[rtp @ 0x7ffac980be00] NAL size 4050 > 1290

[libx264 @ 0x7ffac980d000] 
frame=2248 QP=30.98 NAL=2 Slice:P Poc:2   I:0    P:21   SKIP:3579 size=101 bytes

[rtp @ 0x7ffac980be00] 
Sending NAL 1 of len 17 M=0

[rtp @ 0x7ffac980be00] 
Sending NAL 1 of len 31 M=0

[rtp @ 0x7ffac980be00] 
Sending NAL 1 of len 21 M=0
[rtp @ 0x7ffac980be00] Sending NAL 1 of len 19 M=1

frame= 2249 fps= 31 q=34.0 Lsize=    2779kB time=00:01:14.93 bitrate= 303.8kbits/s dup=1318 drop=0 speed=1.03x    

video:2744kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 
1.251598%


Input file #0 (rtsp://yyy:xxx@192.168.178.102:554/h264Preview_01_main):

  Input stream #0:0 (video): 
935 packets read (24626055 bytes); 
932 frames decoded
; 


  Input stream #0:1 (audio): 
1178 packets read (603136 bytes); 


  Total: 2113 packets (25229191 bytes) demuxed

Output file #0 (srtp://192.168.178.22:60909?rtcpport=60909&localrtcpport=60909&pkt_size=1316):

  Output stream #0:0 (video): 
2249 frames encoded
; 
2249 packets muxed (2810328 bytes); 


  Total: 2249 packets (2810328 bytes) muxed

932 frames successfully decoded, 0 decoding errors

[AVIOContext @ 0x7ffac9707e80] 
Statistics: 0 seeks, 3773 writeouts

[libx264 @ 0x7ffac980d000] 
frame I:10    Avg QP:30.05  size: 13616

[libx264 @ 0x7ffac980d000] 
frame P:2239  Avg QP:26.19  size:  1194

[libx264 @ 0x7ffac980d000] 
mb I  I16..4: 19.5% 75.8%  4.7%

[libx264 @ 0x7ffac980d000] 
mb P  I16..4:  0.0%  0.3%  0.0%  P16..4:  6.1%  0.5%  0.9%  0.0%  0.0%    skip:92.2%

[libx264 @ 0x7ffac980d000] 
8x8 transform intra:81.9% inter:71.8%

[libx264 @ 0x7ffac980d000] 
coded y,uvDC,uvAC intra: 60.6% 0.0% 0.0% inter: 2.3% 0.0% 0.0%

[libx264 @ 0x7ffac980d000] i16 v,h,dc,p: 13% 25% 12% 50%

[libx264 @ 0x7ffac980d000] 
i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 15% 36%  7%  7%  5%  8%  4%  8%

[libx264 @ 0x7ffac980d000] 
i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 21% 28%  7%  8%  5%  6%  3%  4%

[libx264 @ 0x7ffac980d000] 
i8c dc,h,v,p: 100%  0%  0%  0%

[libx264 @ 0x7ffac980d000] Weighted P-Frames: Y:0.0% UV:0.0%

[libx264 @ 0x7ffac980d000] ref P L0: 85.2% 11.0%  2.9%  0.9%

[libx264 @ 0x7ffac980d000] 
kb/s:299.90

Exiting normally, received signal 15.
```

This is my config:

```json
"name": "Reolink",
                    "videoConfig": {
                        "source": "-re -i rtsp://yyy:xxx@192.168.178.102:554/h264Preview_01_main",
                        "maxStreams": 2,
                        "maxWidth": 1280,
                        "maxHeight": 720,
                        "maxFPS": 30,
                        "maxBitrate": 300,
                        "vcodec": "h264",
                        "debug": true
                    }
```

**Environment:**

* **Node.js Version**: v14.2.0
* **NPM Version**: v6.14.4
* **Homebridge Version**: v1.1.0
* **Homebridge Camera FFmpeg Version**: v1.1.1
* **Homebridge Config UI X Plugin Version**: v4.19.0
* **Operating System**: macOS Catalina 10.15.3
