Video anomaly 
**Describe the bug**
HSV recordings have anomalies which cause frames to jump randomly. At the same time, live streams pause…meaning the live stream works (according to HomeKit) but the image is not refreshing (static image). 

**To Reproduce**
Works ok after restart but issue returns after several hours (more than 12).

**Expected behavior**
No anomalies. 

**Logs**
No log, will upload the next time anomaly happens. 

**Screenshots**
https://share.icloud.com/photos/07ej3BalcAhsb0zq-Bfa1pvBA

**Environment**
- Node.js Version: v17.4
- Homebridge Version: v1.4.0
- Camera UI Version: v5.0.14
- Operating System: Ubuntu
- Browser: Safari
