Commit graph

38 commits

Author SHA1 Message Date
Gabe Kangas
e232d2e3f3 Fix blocking 2020-08-27 08:50:27 -07:00
Gabe Kangas
4c3da2704f
Simple hardware metrics collection + alerting (#115)
* Add CPU and RAM usage alerting

* Create basic troubleshooting document to point alerts at

* Limit max number of hardware values collected

* Save metric value with the point in time it was taken
2020-08-27 00:37:32 -07:00
Gabe Kangas
a8fe8a1cfa Add support for specifying the path for chat db. Closes #61 2020-07-15 17:20:47 -07:00
Gabe Kangas
f54d1eba38 Add additional logging of ffmpeg output to file. Help troubleshoot #34 2020-07-12 09:52:54 -07:00
Gabe Kangas
259923b303 Set logging preferences via command line flags. Closes #20 2020-07-06 21:27:31 -07:00
Gabe Kangas
1f51ef9668 Add version string to config endpoint 2020-06-30 17:49:17 -07:00
Gabe Kangas
17eb9da30c Remove commented out code 2020-06-25 10:27:08 -07:00
Gabe Kangas
260877f60d Enable file/line-level verbose debugging by providing enableDebugFeatures option. #20 2020-06-25 01:25:28 -07:00
Gabe Kangas
8b379f895b Support config file location as an argument. #20 2020-06-25 01:23:50 -07:00
Gabe Kangas
a3273e9deb Value injection at build time seems to only work for the main package 2020-06-24 12:55:49 -07:00
Bradley Hilton
487bd12444
Project restructure (#18)
* First pass at restructuring the project; untested but it does compile

* Restructure builds and runs 🎉

* Add the dist folder to the gitignore

* Update core/playlist/monitor.go

* golint and reorganize the monitor.go file

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2020-06-22 18:11:56 -07:00
Gabe Kangas
f013a8639a Actually fix race condition that happens in production. I think. 2020-06-18 13:37:01 -07:00
Gabe Kangas
e8edce5178 Continue to troubleshoot race condition at launch 2020-06-18 01:23:52 -07:00
Gabe Kangas
02692befc6 Troubleshooting race condition 2020-06-17 23:01:31 -07:00
Gabe Kangas
d00d5d3390 Disallow caching of hls playlists client-side 2020-06-17 21:02:16 -07:00
Gabe Kangas
0cb2ab396c Try to fix a race condition where a file is attempted to be moved and deleted at the same time 2020-06-17 18:09:32 -07:00
Gabe Kangas
5cecb50b2e When starting the server provide a default stream offline state 2020-06-17 17:32:14 -07:00
Gabe Kangas
c8fa2add17 First pass at a build/release script. Closes #2 2020-06-16 17:49:25 -07:00
Gabe Kangas
5bc3555206 Stitch in an offline slate when the RTMP stream is dropped 2020-06-15 16:27:58 -07:00
Gabe Kangas
ede890cf5d Unblock RTMP packets? 2020-06-14 23:06:43 -07:00
Gabe Kangas
cd53e108f3 Enable CORS on /status 2020-06-13 22:39:02 -07:00
Gabe Kangas
1c45e11358 Enable CORS on web server 2020-06-13 17:08:34 -07:00
Gabe Kangas
344da52e3d Handle viewer counts outside of websocket connections 2020-06-11 14:55:38 -07:00
Gabe Kangas
b47ea89c06 Add basic persistent viewership stats 2020-06-10 23:59:36 -07:00
Gabe Kangas
9ebec675b5 Generate a static thumbnail png every 20s 2020-06-10 01:38:35 -07:00
Gabe Kangas
0b5452de89 Support multiple adaptive bitrates 2020-06-09 02:21:42 -07:00
Gabe Kangas
29f51f6ccc A little cleanup 2020-06-04 01:53:48 -07:00
Gabe Kangas
8cd8c7df20 Add support for storing chunks on S3 2020-06-03 01:34:16 -07:00
Gabe Kangas
16047d884d Refactor ipfs storage behind a standard interface 2020-06-03 01:33:27 -07:00
Gabe Kangas
f83fccfa89 Show viewer count and reconnect to websocket 2020-06-02 17:35:49 -07:00
Gabe Kangas
4cb282040b Add endpoint for returning stream status 2020-06-02 01:02:26 -07:00
Gabe Kangas
d0ec846b30 Create pipe in tmp directory instead of cwd 2020-06-01 17:42:36 -07:00
Gabe Kangas
161aaeec8d Reject invalid streaming key 2020-06-01 17:15:11 -07:00
Gabe Kangas
ca622c85c7 Add config file. Turn on/off ipfs 2020-06-01 16:53:31 -07:00
Gabe Kangas
bfe62cd34a Point playlist at local files instead of IPFS to test 2020-06-01 13:28:14 -07:00
Gabe Kangas
bf5d792ac0 Will now run as a self-contained IPFS node 2020-06-01 12:15:07 -07:00
Gabe Kangas
af698063bd Initial POC works with IPFS 2020-05-30 19:05:30 -07:00
Gabe Kangas
cc48f86b85 WIP 2020-05-23 17:57:49 -07:00