Stream crashes while viewing live in Apple Home app
**Describe the bug**
Stream crashes while viewing live in Apple Home app

**To Reproduce**
When getting a notification that there is an activity noticed, the stream crashes after a couple of seconds

**Expected behavior**
The stream needs to keep going :)

**Logs**
I'm not sure if this is exactly what is causing the problem, but I'm seeing a lot of this logging:

```
birdy-two: FFmpeg prebuffer process exited with error! (SIGKILL) - [h264 @ 0x3a5f740] non-existing PPS 0 referenced -  -
Last message repeated 1 times - [h264 @ 0x3a5f740] decode_slice_header error - [h264 @ 0x3a5f740] no frame! -  -
[h264 @ 0x3a5f740] non-existing PPS 0 referenced -  - 
Last message repeated 1 times - [h264 @ 0x3a5f740] decode_slice_header error - [h264 @ 0x3a5f740] no frame! -  -
[h264 @ 0x3a5f740] non-existing PPS 0 referenced -  -  
Last message repeated 1 times - [h264 @ 0x3a5f740] decode_slice_header error - [h264 @ 0x3a5f740] no frame! -
```

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment**
- Node.js Version: v16.13.2
- Camera UI Version: v5.0.16
- Operating System: Raspbian GNU/Linux 10 (buster)
- Browser: N/A
