Commit graph

46 commits

Author SHA1 Message Date
Christian Muehlhaeuser
7c71a68da5
Add database schema versioning & migration skeleton (#382) 2020-11-18 16:49:54 -08:00
Gabe Kangas
4d2066a76d
Start cleaning up linter errors. (#358)
* Start cleaning up linter errors. For #357

* Fix unmarshalling NullTime values

* More linter fixes

* Remove commented code

* Move defer up

* Consolidate error check lines

* Move error check to make sure row iteration was successful

* Cleaner error check + do not recreate pipe if it exists

* Consolidate hashing to generate client id
2020-11-14 18:39:53 -08:00
Christian Muehlhaeuser
2e1f8d29b5
Fix godoc style comments (#356) 2020-11-12 15:14:59 -08:00
Gabe Kangas
1dbd550134
Bundle and serve admin (#317)
* WIP with admin bundling

* Current state of the admin is bundled

* Update admin bundler to work with binary bundling

* Log detail about the admin interface. Closes #312

* Move bundle script to the build dir

* Update to current version of admin

* Commit updated API documentation

Co-authored-by: Owncast <owncast@owncast.online>
2020-11-06 15:12:35 -08:00
Gabe Kangas
18e322c5e1 Add version number to status endpoint 2020-11-03 21:22:17 -08:00
Gabe Kangas
5c6f5fc697 Add logging admin APIs for dashboard #114 2020-10-29 18:17:04 -07:00
Gabe Kangas
19e86b8c04
First pass at centralized database reference. Closes #282 (#289)
* First pass at centralized database reference. Closes #282

* Add verbose logging option to launch.json

* Clear current broadcaster on stream end. Closes #285

* Fix typo in verbose launch args

* Add support for purging tailwind styles. For #224

* Don't need to pass db as param since it is stored

* Commit updated Javascript packages

Co-authored-by: Owncast <owncast@owncast.online>
2020-10-26 08:55:31 -07:00
leowmjw
769fc3a561
Fixes #211: Update mod paths (#221)
Co-authored-by: Michael Leow <mleow@moneylion.com>
2020-10-05 10:07:09 -07:00
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