Streaming stops after 5 minutes
# Live Streaming Issue

### Describe the live streaming issue
After five minutes, my stream stops working

### Screenshots/Logs
Running this library (no homebridge) on heroku: 
```
2020-06-13T20:31:18.708289+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=5aca2122-ab24-4369-9a49-3871c6a67231 fwd="73.63.164.71" dyno=web.1 connect=0ms service=2ms status=304 bytes=269 protocol=https
2020-06-13T20:31:18.793586+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=ec678a80-1aae-4492-b0d0-609205e78b5f fwd="73.63.164.71" dyno=web.1 connect=0ms service=1ms status=304 bytes=269 protocol=https
2020-06-13T20:31:20.676941+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=cc6dc600-2225-4fe2-8598-19d4d399a4b6 fwd="73.63.164.71" dyno=web.1 connect=0ms service=1ms status=304 bytes=269 protocol=https
2020-06-13T20:31:20.762352+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=64ab8b04-36a6-4bc8-a7d8-ada0c02cb7bb fwd="73.63.164.71" dyno=web.1 connect=0ms service=1ms status=304 bytes=269 protocol=https
2020-06-13T20:31:22.653060+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=939303e2-6da3-4c20-a100-58b42eed3f2e fwd="73.63.164.71" dyno=web.1 connect=0ms service=2ms status=304 bytes=269 protocol=https
2020-06-13T20:31:22.740488+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=4cae3cdd-40ee-4403-8b0f-3a259584caca fwd="73.63.164.71" dyno=web.1 connect=0ms service=1ms status=200 bytes=601 protocol=https
2020-06-13T20:31:22.833967+00:00 heroku[router]: at=info method=GET path="/output/stream299.ts" host=stark-cliffs-86657.herokuapp.com request_id=ec3916e3-eaa3-4c5e-a238-50be04a0d483 fwd="73.63.164.71" dyno=web.1 connect=0ms service=5ms status=200 bytes=80398 protocol=https
2020-06-13T20:31:22.685302+00:00 app[web.1]: Call has ended
2020-06-13T20:31:24.642362+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=ebb4684a-9d70-4673-91f8-bd2d29cc0642 fwd="73.63.164.71" dyno=web.1 connect=0ms service=1ms status=304 bytes=269 protocol=https
2020-06-13T20:33:32.356936+00:00 app[web.1]: Motion detected on Terusama camera. Ding id 6837933293599262840.  Received at Sat Jun 13 2020 20:33:32 GMT+0000 (Coordinated Universal Time)
2020-06-13T20:41:01.610880+00:00 app[web.1]: Motion detected on Terusama camera. Ding id 6837935217744611448.  Received at Sat Jun 13 2020 20:41:01 GMT+0000 (Coordinated Universal Time)
2020-06-13T20:43:37.470167+00:00 app[web.1]: Motion detected on Terusama camera. Ding id 6837935887759509624.  Received at Sat Jun 13 2020 20:43:37 GMT+0000 (Coordinated Universal Time)
Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...
2020-06-13T20:31:20.676941+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=cc6dc600-2225-4fe2-8598-19d4d399a4b6 fwd="73.63.164.71" dyno=web.1 connect=0ms service=1ms status=304 bytes=269 protocol=https
2020-06-13T20:31:20.762352+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=64ab8b04-36a6-4bc8-a7d8-ada0c02cb7bb fwd="73.63.164.71" dyno=web.1 connect=0ms service=1ms status=304 bytes=269 protocol=https
2020-06-13T20:31:22.653060+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=939303e2-6da3-4c20-a100-58b42eed3f2e fwd="73.63.164.71" dyno=web.1 connect=0ms service=2ms status=304 bytes=269 protocol=https
2020-06-13T20:31:22.685302+00:00 app[web.1]: Call has ended
2020-06-13T20:31:22.740488+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=4cae3cdd-40ee-4403-8b0f-3a259584caca fwd="73.63.164.71" dyno=web.1 connect=0ms service=1ms status=200 bytes=601 protocol=https
2020-06-13T20:31:22.833967+00:00 heroku[router]: at=info method=GET path="/output/stream299.ts" host=stark-cliffs-86657.herokuapp.com request_id=ec3916e3-eaa3-4c5e-a238-50be04a0d483 fwd="73.63.164.71" dyno=web.1 connect=0ms service=5ms status=200 bytes=80398 protocol=https
2020-06-13T20:31:24.642362+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=ebb4684a-9d70-4673-91f8-bd2d29cc0642 fwd="73.63.164.71" dyno=web.1 connect=0ms service=1ms status=304 bytes=269 protocol=https
2020-06-13T20:33:32.356936+00:00 app[web.1]: Motion detected on Terusama camera. Ding id 6837933293599262840.  Received at Sat Jun 13 2020 20:33:32 GMT+0000 (Coordinated Universal Time)
2020-06-13T20:41:01.610880+00:00 app[web.1]: Motion detected on Terusama camera. Ding id 6837935217744611448.  Received at Sat Jun 13 2020 20:41:01 GMT+0000 (Coordinated Universal Time)
2020-06-13T20:43:37.470167+00:00 app[web.1]: Motion detected on Terusama camera. Ding id 6837935887759509624.  Received at Sat Jun 13 2020 20:43:37 GMT+0000 (Coordinated Universal Time)
2020-06-13T20:45:22.948487+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=38cee5a7-b7a6-4682-bd75-69b56b264dcf fwd="73.63.164.71" dyno=web.1 connect=1ms service=5ms status=304 bytes=269 protocol=https
2020-06-13T20:45:22.854056+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=fdde24e6-5b6c-45d3-9bd5-2c5e0bf8b30b fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=269 protocol=https
2020-06-13T20:45:23.101816+00:00 heroku[router]: at=info method=GET path="/output/stream294.ts" host=stark-cliffs-86657.herokuapp.com request_id=b15749b1-43e2-42c6-b347-7a64c98b98d5 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:45:23.336765+00:00 heroku[router]: at=info method=GET path="/output/stream296.ts" host=stark-cliffs-86657.herokuapp.com request_id=74a987b3-84fd-496f-ba3d-b100fc03166c fwd="73.63.164.71" dyno=web.1 connect=1ms service=6ms status=304 bytes=271 protocol=https
2020-06-13T20:45:23.217617+00:00 heroku[router]: at=info method=GET path="/output/stream295.ts" host=stark-cliffs-86657.herokuapp.com request_id=2f3839f9-a1bf-4e83-9dbe-8f3bd85fd8d3 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:45:23.454254+00:00 heroku[router]: at=info method=GET path="/output/stream297.ts" host=stark-cliffs-86657.herokuapp.com request_id=7e20a812-6aa5-4b41-9fc7-c88f5e0a1cae fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:45:23.555304+00:00 heroku[router]: at=info method=GET path="/output/stream298.ts" host=stark-cliffs-86657.herokuapp.com request_id=c663509e-6b29-4a09-94d7-d1f94868f171 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:45:23.655547+00:00 heroku[router]: at=info method=GET path="/output/stream299.ts" host=stark-cliffs-86657.herokuapp.com request_id=47d30586-34d1-4815-9940-858a8cc669f8 fwd="73.63.164.71" dyno=web.1 connect=1ms service=3ms status=304 bytes=271 protocol=https
2020-06-13T20:45:27.282355+00:00 app[web.1]: Doorbell pressed on Terusama camera. Ding id 6837936364500879480.  Received at Sat Jun 13 2020 20:45:27 GMT+0000 (Coordinated Universal Time)
2020-06-13T20:45:42.804044+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=9cd2bc07-46f9-476c-8941-ad3a68ca9926 fwd="73.63.164.71" dyno=web.1 connect=1ms service=3ms status=304 bytes=269 protocol=https
2020-06-13T20:45:42.901189+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=8a568cba-1c7b-4c62-ac39-be01b1059852 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=269 protocol=https
2020-06-13T20:45:43.036251+00:00 heroku[router]: at=info method=GET path="/output/stream294.ts" host=stark-cliffs-86657.herokuapp.com request_id=1d096819-27aa-406b-8e44-f8b5a6078ee1 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:45:43.214856+00:00 heroku[router]: at=info method=GET path="/output/stream295.ts" host=stark-cliffs-86657.herokuapp.com request_id=9cd52cda-9f66-4dd1-a2bf-b03ec582c98d fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:45:43.498809+00:00 heroku[router]: at=info method=GET path="/output/stream296.ts" host=stark-cliffs-86657.herokuapp.com request_id=70ba0897-1105-46ff-b95e-e20806c78652 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:45:43.603745+00:00 heroku[router]: at=info method=GET path="/output/stream297.ts" host=stark-cliffs-86657.herokuapp.com request_id=7261e71f-eec5-4988-b4f2-c0b45dbb1353 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:45:43.705474+00:00 heroku[router]: at=info method=GET path="/output/stream298.ts" host=stark-cliffs-86657.herokuapp.com request_id=3ab62f9e-7a66-4dc9-9fbd-bb2f8fb78a2d fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:45:43.800099+00:00 heroku[router]: at=info method=GET path="/output/stream299.ts" host=stark-cliffs-86657.herokuapp.com request_id=46b114ab-a32a-43e1-b188-39f16f53aaf8 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:11.104681+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=15becccb-1e95-4897-8169-275759cd8f2d fwd="73.63.164.71" dyno=web.1 connect=1ms service=4ms status=304 bytes=269 protocol=https
2020-06-13T20:46:11.191139+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=be4654f6-1db7-42f4-aea5-084abf0bc6d5 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=269 protocol=https
2020-06-13T20:46:11.359927+00:00 heroku[router]: at=info method=GET path="/output/stream294.ts" host=stark-cliffs-86657.herokuapp.com request_id=563a0e05-b314-431e-a02c-5f35bf0bb0d1 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:11.688518+00:00 heroku[router]: at=info method=GET path="/output/stream295.ts" host=stark-cliffs-86657.herokuapp.com request_id=7ac2e4e9-8fad-468c-9038-7d0d242adfd4 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:11.797589+00:00 heroku[router]: at=info method=GET path="/output/stream296.ts" host=stark-cliffs-86657.herokuapp.com request_id=9f7b1a1c-82af-4201-9900-cfa291d78695 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:11.897027+00:00 heroku[router]: at=info method=GET path="/output/stream297.ts" host=stark-cliffs-86657.herokuapp.com request_id=2586572b-b5b8-4b12-8929-e573371e8fed fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:12.081225+00:00 heroku[router]: at=info method=GET path="/output/stream299.ts" host=stark-cliffs-86657.herokuapp.com request_id=e37c65b7-b21f-4d14-ad27-6a0b3a5b5a41 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:11.989023+00:00 heroku[router]: at=info method=GET path="/output/stream298.ts" host=stark-cliffs-86657.herokuapp.com request_id=a26c6ec8-7baa-49f0-adf1-6287b1788e6b fwd="73.63.164.71" dyno=web.1 connect=1ms service=4ms status=304 bytes=271 protocol=https
2020-06-13T20:46:40.830219+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=a853fc95-1681-4843-a14e-40650d5b1711 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=269 protocol=https
2020-06-13T20:46:40.918574+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=2e0531c5-b639-4f72-9fb3-21a77ea63afa fwd="73.63.164.71" dyno=web.1 connect=1ms service=4ms status=304 bytes=269 protocol=https
2020-06-13T20:46:41.066993+00:00 heroku[router]: at=info method=GET path="/output/stream294.ts" host=stark-cliffs-86657.herokuapp.com request_id=2374dcbf-c679-45bb-ba7a-435a175ee852 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:41.228890+00:00 heroku[router]: at=info method=GET path="/output/stream295.ts" host=stark-cliffs-86657.herokuapp.com request_id=2d3695fa-6474-426f-85b4-74b844953695 fwd="73.63.164.71" dyno=web.1 connect=1ms service=3ms status=304 bytes=271 protocol=https
2020-06-13T20:46:41.701523+00:00 heroku[router]: at=info method=GET path="/output/stream298.ts" host=stark-cliffs-86657.herokuapp.com request_id=2ab72529-0e99-492a-b3f4-d7a47db58106 fwd="73.63.164.71" dyno=web.1 connect=1ms service=4ms status=304 bytes=271 protocol=https
2020-06-13T20:46:41.604229+00:00 heroku[router]: at=info method=GET path="/output/stream297.ts" host=stark-cliffs-86657.herokuapp.com request_id=9f44b7fb-9ab7-4469-880f-522eba70731c fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:41.498575+00:00 heroku[router]: at=info method=GET path="/output/stream296.ts" host=stark-cliffs-86657.herokuapp.com request_id=1793e670-1f07-46ef-9752-450b6d411909 fwd="73.63.164.71" dyno=web.1 connect=1ms service=3ms status=304 bytes=271 protocol=https
2020-06-13T20:46:41.792015+00:00 heroku[router]: at=info method=GET path="/output/stream299.ts" host=stark-cliffs-86657.herokuapp.com request_id=3c0af5c9-79e0-4abc-ac32-7a20e9fe5a6a fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...
2020-06-13T20:46:11.989023+00:00 heroku[router]: at=info method=GET path="/output/stream298.ts" host=stark-cliffs-86657.herokuapp.com request_id=a26c6ec8-7baa-49f0-adf1-6287b1788e6b fwd="73.63.164.71" dyno=web.1 connect=1ms service=4ms status=304 bytes=271 protocol=https
2020-06-13T20:46:12.081225+00:00 heroku[router]: at=info method=GET path="/output/stream299.ts" host=stark-cliffs-86657.herokuapp.com request_id=e37c65b7-b21f-4d14-ad27-6a0b3a5b5a41 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:40.830219+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=a853fc95-1681-4843-a14e-40650d5b1711 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=269 protocol=https
2020-06-13T20:46:40.918574+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=2e0531c5-b639-4f72-9fb3-21a77ea63afa fwd="73.63.164.71" dyno=web.1 connect=1ms service=4ms status=304 bytes=269 protocol=https
2020-06-13T20:46:41.066993+00:00 heroku[router]: at=info method=GET path="/output/stream294.ts" host=stark-cliffs-86657.herokuapp.com request_id=2374dcbf-c679-45bb-ba7a-435a175ee852 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:41.228890+00:00 heroku[router]: at=info method=GET path="/output/stream295.ts" host=stark-cliffs-86657.herokuapp.com request_id=2d3695fa-6474-426f-85b4-74b844953695 fwd="73.63.164.71" dyno=web.1 connect=1ms service=3ms status=304 bytes=271 protocol=https
2020-06-13T20:46:41.498575+00:00 heroku[router]: at=info method=GET path="/output/stream296.ts" host=stark-cliffs-86657.herokuapp.com request_id=1793e670-1f07-46ef-9752-450b6d411909 fwd="73.63.164.71" dyno=web.1 connect=1ms service=3ms status=304 bytes=271 protocol=https
2020-06-13T20:46:41.604229+00:00 heroku[router]: at=info method=GET path="/output/stream297.ts" host=stark-cliffs-86657.herokuapp.com request_id=9f44b7fb-9ab7-4469-880f-522eba70731c fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:41.701523+00:00 heroku[router]: at=info method=GET path="/output/stream298.ts" host=stark-cliffs-86657.herokuapp.com request_id=2ab72529-0e99-492a-b3f4-d7a47db58106 fwd="73.63.164.71" dyno=web.1 connect=1ms service=4ms status=304 bytes=271 protocol=https
2020-06-13T20:46:41.792015+00:00 heroku[router]: at=info method=GET path="/output/stream299.ts" host=stark-cliffs-86657.herokuapp.com request_id=3c0af5c9-79e0-4abc-ac32-7a20e9fe5a6a fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:46.211978+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=63c64efd-ee28-443a-8f0e-42f9eebba34d fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=269 protocol=https
2020-06-13T20:46:46.398104+00:00 heroku[router]: at=info method=GET path="/output/stream294.ts" host=stark-cliffs-86657.herokuapp.com request_id=b674670a-a3ef-49c5-89ef-acad3c5ba792 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:46.301234+00:00 heroku[router]: at=info method=GET path="/output/stream.m3u8" host=stark-cliffs-86657.herokuapp.com request_id=1c7d8f73-f76e-4e7c-bfc9-48855a8d6843 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=269 protocol=https
2020-06-13T20:46:46.620408+00:00 heroku[router]: at=info method=GET path="/output/stream296.ts" host=stark-cliffs-86657.herokuapp.com request_id=b2444688-9378-42f3-b2d8-705c4f6cf9a4 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:46.515194+00:00 heroku[router]: at=info method=GET path="/output/stream295.ts" host=stark-cliffs-86657.herokuapp.com request_id=541b0800-8c8a-4972-b3f5-d5265c49774a fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:46.731080+00:00 heroku[router]: at=info method=GET path="/output/stream297.ts" host=stark-cliffs-86657.herokuapp.com request_id=2d2e73e9-2f77-4d6b-8a23-7e89b278809e fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:46:46.834631+00:00 heroku[router]: at=info method=GET path="/output/stream298.ts" host=stark-cliffs-86657.herokuapp.com request_id=740cbe96-2e6e-4e6f-a2ac-0d7fc47b27d1 fwd="73.63.164.71" dyno=web.1 connect=1ms service=3ms status=304 bytes=271 protocol=https
2020-06-13T20:46:46.933129+00:00 heroku[router]: at=info method=GET path="/output/stream299.ts" host=stark-cliffs-86657.herokuapp.com request_id=6e74463a-4a3b-4c71-a296-9dbdb29a98c0 fwd="73.63.164.71" dyno=web.1 connect=1ms service=2ms status=304 bytes=271 protocol=https
2020-06-13T20:49:01.684782+00:00 app[web.1]: Motion detected on Terusama camera. Ding id 6837937275033946232.  Received at Sat Jun 13 2020 20:49:01 GMT+0000 (Coordinated Universal Time)
``` 

ffmpeg options
```
{
      output: [
        "-preset",
        "veryfast",
        "-g",
        "25",
        "-sc_threshold",
        "0",
        "-f",
        "hls",
        "-hls_time",
        "2",
        "-hls_list_size",
        "6",
        "-hls_flags",
        "delete_segments",
        path.join(publicOutputDirectory, "stream.m3u8"),
      ],
    }
```

### Recommended solution
Be able to keep the stream going past five minutes

### Environment
<!-- ✍️edit: -->
 - Ring Camera: ring 3
 - OS: some flavor of linux
 - Node.js: node 12.18.0
 - NPM: npm version: 6.14.4
 - homebridge-ring NA
 - homebridge NA
 - hoobs NA

### Network Environment
connected directly to a router
