Commit Graph

1463 Commits

Author SHA1 Message Date
Nick Mowen
0e000e7ee6 Make jsmpeg the default 2022-10-21 08:29:31 -06:00
Nick Mowen
d8f29ce58d Formatting 2022-10-21 07:47:34 -06:00
Nick Mowen
25a4f269e6 Update to beta 9 of go2rtc 2022-10-21 07:46:48 -06:00
Nick Mowen
f6b87531b9 Support all stream types 2022-10-21 07:46:04 -06:00
Nick Mowen
d218b27d3a Small docs tweak 2022-10-16 16:52:23 -06:00
Nick Mowen
3c2dbdc05b Add live view docs and show different options 2022-10-16 16:52:00 -06:00
Nick Mowen
948598767d Add restream tests 2022-10-16 16:11:55 -06:00
Nick Mowen
ab5934887c Fix tests 2022-10-16 16:11:10 -06:00
Nick Mowen
9f51897782 Adjust rtmp test and add restream test 2022-10-16 16:06:45 -06:00
Nick Mowen
febf88ab85 Cleanup 2022-10-16 16:04:30 -06:00
Nick Mowen
f1499f7811 Support webrtc 2022-10-15 14:04:54 -06:00
Nick Mowen
a3b21d448a Improvements to webRTC 2022-10-15 13:42:14 -06:00
Nick Mowen
7028de3612 Add webrtc player 2022-10-14 18:02:10 -06:00
Nick Mowen
5a2b84fbfb Update docs to reflect restream role 2022-10-14 14:58:33 -06:00
Nick Mowen
73276cc64b Update docs to reflect restream role 2022-10-14 14:57:43 -06:00
Nick Mowen
8b029dbdf8 Update docs to suggest new restream method. 2022-10-14 14:53:44 -06:00
Nick Mowen
8e7c545eee Formatting 2022-10-14 14:46:58 -06:00
Nick Mowen
7f9818fe17 Expose 8554 for rtsp relay from go2rtc 2022-10-14 14:46:38 -06:00
Nick Mowen
000b76e13f Make mp4 the default streaming for now 2022-10-14 14:40:05 -06:00
Nick Mowen
fc68ebb312 Setup specific restream modules 2022-10-14 13:02:55 -06:00
Nick Mowen
8488f5a5ea Add base for webrtc option 2022-10-14 10:40:55 -06:00
Nick Mowen
5bced8376a Add multiple options from restream live view 2022-10-14 10:16:44 -06:00
Nick Mowen
a6867bf89b Adjust VideoPlayer to accept live option which disables irrelevant controls 2022-10-14 10:11:31 -06:00
Nick Mowen
2096701c79 Tweak player options to fit live view 2022-10-14 09:29:56 -06:00
Nick Mowen
8946f09eec Make view rspect live size config 2022-10-14 09:18:40 -06:00
Nick Mowen
6c95e78366 Make sure jsmpeg works as expected 2022-10-13 17:44:58 -06:00
Nick Mowen
7ff2dae9d5 Fix restream 2022-10-13 17:34:39 -06:00
Nick Mowen
65b9e12c94 Send restream to camera level 2022-10-13 17:22:54 -06:00
Nick Mowen
1c22b3a342 Start restream on frigate start 2022-10-13 17:16:28 -06:00
Nick Mowen
8aa8b90b42 Fix go2rtc move 2022-10-13 17:14:17 -06:00
Nick Mowen
0b08c254d3 Use go2rtc for camera config 2022-10-13 17:06:43 -06:00
Nick Mowen
82bfd8fd5d Disable RTMP by default and use restream 2022-10-13 16:45:56 -06:00
Nick Mowen
eae7123cf3 Add camera live source config 2022-10-13 16:45:39 -06:00
Nick Mowen
22c8828da8 Add restream to nginx 2022-10-13 16:43:29 -06:00
Nick Mowen
636a88e00e Add restream role 2022-10-13 16:39:00 -06:00
Nick Mowen
53e7e0457b Add restream role 2022-10-13 16:37:09 -06:00
Nick Mowen
7eb3547979 Add relay controller for go2rtc 2022-10-13 16:34:59 -06:00
Nick Mowen
fe5399d5f8 Add go2rtc to local services and add to s6 2022-10-13 16:34:59 -06:00
Nick Mowen
0aa5e3509f Pull go2rtc dependency 2022-10-13 16:34:59 -06:00
Nicolas Mowen
b4d4adb75b
Limit recording retention to available storage (#3942)
* Add field and migration for segment size

* Store the segment size in db

* Add comment

* Add default

* Fix size parsing

* Include segment size in recordings endpoint

* Start adding storage maintainer

* Add storage maintainer and calculate average sizes

* Update comment

* Store segment and hour avg sizes per camera

* Formatting

* Keep track of total segment and hour averages

* Remove unused files

* Cleanup 2 hours of recordings at a time

* Formatting

* Fix bug

* Round segment size

* Cleanup some comments

* Handle case where segments are not deleted on initial run or is only retained segments

* Improve cleanup log

* Formatting

* Fix typo and improve logging

* Catch case where no recordings exist for camera

* Specifically define sort

* Handle edge case for cameras that only record part time

* Increase definition of part time recorder

* Remove warning about not supported storage based retention

* Add note about storage based retention to recording docs

* Add tests for storage maintenance calculation and cleanup

* Format tests

* Don't run for a camera with no recording segments

* Get size of file from cache

* Rework camera stats to be more efficient

* Remove total and other inefficencies

* Rewrite storage cleanup logic to be much more efficient

* Fix existing tests

* Fix bugs from tests

* Add another test

* Improve logging

* Formatting

* Set back correct loop time

* Update name

* Update comment

* Only include segments that have a nonzero size

* Catch case where camera has 0 nonzero segment durations

* Add test to cover zero bandwidth migration case

* Fix test

* Incorrect boolean logic

* Formatting

* Explicity re-define iterator
2022-10-09 06:28:26 -05:00
Blake Blackshear
3c01dbed7d increment version 2022-10-08 19:32:45 -05:00
Jörg Menke
2eada219cd
Restructured camera specific documentation (#4005)
* Restructured camera specific documentation

* Make room for manufacture specific docs
* Added initial (more or less) working setup for Annke C800 camera

* Update docs/docs/configuration/camera_specific.md

remove tracking settings from example

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* Moved unify and blue iris cams examples

* headline cleanup

* removed doubled headline in advanced options
* changed headline level for camera specific setup to make headlines
  show up in toc

* removed specific optimizations not related to cam

* more generic phrasing

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2022-10-07 21:15:12 -05:00
Nicolas Mowen
8dd367efa9
Link to env var option (#4032) 2022-10-07 21:13:47 -05:00
Nicolas Mowen
66dc8c772b
Remove snapshot requirement for thumbnail event query (#4039) 2022-10-07 21:13:15 -05:00
Sean Kelly
68cdd9b94c
Fix some typos in docs (#4020) 2022-10-05 06:15:15 -05:00
Nicolas Mowen
65c211bb6d
Catch ffprobe empty stdout (#4016) 2022-10-04 19:56:04 -05:00
Nicolas Mowen
60ad38261b
Fix sub label access (#4015)
* Fix access

* Formatting
2022-10-04 18:49:37 -05:00
Blake Blackshear
c02100ee6f increment version 2022-10-04 06:28:56 -05:00
Blake Blackshear
8669c29e3d
don't overwrite segments that already exist (#3995) 2022-10-01 18:11:29 -05:00
Kamahat
10783fec49
identation, device Id (#3921)
* identation, device Id

indentation issue : "deploy"  need to ne at th esame level as "image"
Device ID : use "device id" instead of "count: 1" cf : https://docs.docker.com/compose/gpu-support/

* Update docs/docs/configuration/hardware_acceleration.md

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2022-10-01 09:04:28 -05:00