Commit Graph
100 Commits
Author SHA1 Message Date
Gabe Kangas 55a81029e5 Update admin 2020-11-11 19:59:05 -08:00
Gabe Kangas a9586b03fc Disable persistent http connections in transcoder 2020-11-11 00:28:01 -08:00
Gabe KangasandGitHub e8f1d5ef3f Typo 2020-11-10 15:05:33 -08:00
Gabe KangasandGitHub 7330722110 Link directly to new discussion post 2020-11-10 15:04:07 -08:00
Gabe KangasandGitHub 0a5ed6d942 Add link to Owncast discussions on Github 2020-11-10 15:03:21 -08:00
Gabe KangasandGitHub 00b1e06840 Support admin paths with index.html (#332) 2020-11-09 19:52:43 -08:00
Gabe Kangas 73ec2126cc Do not perform ffmpeg location logic in defaults 2020-11-09 19:35:01 -08:00
Gabe Kangas f679c9d1fe Do not continue if ffmpeg is not found. panic and die. 2020-11-09 16:56:31 -08:00
Gabe Kangas bbab241120 Update admin again 2020-11-08 12:00:31 -08:00
Gabe Kangas e091afbb3c Update admin bundle to point to relative paths and not localhost 2020-11-07 16:46:28 -08:00
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 7fece6ff28 Update API documentation for new admin endpoint 2020-11-05 18:40:19 -08:00
Gabe Kangas 856961ad2d Replace admin broadcaster with status api 2020-11-05 18:29:16 -08:00
Gabe Kangas 133745efd7 Perform validation on YP instance URL value 2020-11-05 09:23:44 -08:00
Gabe Kangas 6f6971f482 Display YP errors 2020-11-05 09:14:47 -08:00
Gabe Kangas 4de2841659 Remove stale client purging. Use sockets to count clients. #323 2020-11-05 00:15:00 -08:00
Gabe Kangas 723a671f1c Stop handleDisconnect from double firing 2020-11-05 00:15:00 -08:00
Gabe Kangas 18e322c5e1 Add version number to status endpoint 2020-11-03 21:22:17 -08:00
Gabe Kangas 6bf0826e62 Move build script to build directory 2020-11-03 00:46:18 -08:00
Gabe Kangas fe0021b8c8 Remove preview gif on offline. Closes #300 2020-11-02 19:39:52 -08:00
Gabe KangasandGitHub f8712856af Trying to fix commits not happening with js 2020-10-30 16:04:03 -07:00
Gabe KangasandGitHub 41b694d292 Add auto-closing stale issues and PRs
Keep the repo clean.
2020-10-30 15:03:48 -07:00
Gabe Kangas 2131a203ed Add get log apis to doc 2020-10-29 18:41:21 -07:00
Gabe Kangas de88a34683 Use a real URL 2020-10-29 18:26:10 -07:00
Gabe Kangas 5c6f5fc697 Add logging admin APIs for dashboard #114 2020-10-29 18:17:04 -07:00
Gabe KangasandGitHub 3963568951 Stop rtmp from reaching back into core (#290)
* Stop rtmp from reaching back into core.

* Un-export since these functions no longer need to be public
2020-10-29 14:09:28 -07:00
Gabe KangasandGitHub 72918a62d8 Update owncast-release-checklist.md 2020-10-29 00:31:09 -07:00
Gabe KangasandGitHub 6fb006f7e5 Update package.json 2020-10-28 14:59:17 -07:00
Gabe KangasandGitHub 6504736c4b Update javascript-packages.yaml 2020-10-28 14:58:33 -07:00
Gabe KangasandGitHub 2b555ce42f Test commit to see if workflow fires propertly 2020-10-28 14:56:21 -07:00
Gabe KangasandGitHub d173b93204 Update javascript-packages.yaml 2020-10-28 14:54:31 -07:00
Gabe Kangas 6c5253c7e0 Do not panic. Closes #295 2020-10-26 18:58:54 -07:00
Gabe Kangas 2c3da709f5 Add some additional issue template items 2020-10-26 15:03:34 -07:00
Gabe KangasandGitHub 18829209cb Add issue template for public release checklist 2020-10-26 12:59:00 -07:00
Gabe Kangas 4b70edac83 Fill in all the values for the admin config api 2020-10-26 09:14:20 -07:00
Gabe Kangas 34fe55b5a3 Add getter for stream variant encoder preset w/ test 2020-10-26 09:14:20 -07:00
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
Gabe KangasandGitHub 6d0aa4bdd1 Create a production build of Tailwind at release time (#292)
* Add support for purging tailwind styles. For #224

* Build prod version of tailwind in build script
2020-10-26 08:49:33 -07:00
Gabe Kangas 2ee09f9697 Add stream key to config admin api 2020-10-25 22:17:56 -07:00
Gabe Kangas 903c977b13 Add GetAdminStatus endpoint that is compatible with admin auth 2020-10-25 18:56:53 -07:00
Gabe Kangas 8ed21d303f Fix typo in verbose launch args 2020-10-24 16:01:49 -07:00
Gabe Kangas 32c7e3fa34 Clear current broadcaster on stream end. Closes #285 2020-10-24 14:58:34 -07:00
Gabe Kangas de40da1cf0 Add verbose logging option to launch.json 2020-10-24 14:32:42 -07:00
Gabe Kangas 0374bd262f Update script to support 32bit linux binaries. Closes #288 2020-10-24 13:52:59 -07:00
2839a5e236 Custom thumbnail poster component (#281)
* Custom thumbnail poster component

* add opacity transition to thumbnail img

* fix some videoonly styles

* move video styles to video.css

* make component out of image layers; put inline styles into css

* cleanup

* update videoonly ; don't render poster if video player, remove dom modification in player

* revert interval

Co-authored-by: Ginger Wong <omqmail@gmail.com>
2020-10-22 14:14:44 -07:00
Gabe Kangas ebed81c81e Test update of api doc 2020-10-21 22:41:57 -07:00
Gabe Kangas 294339b496 Fix typo 2020-10-21 22:39:32 -07:00
Gabe Kangas 0558f4f699 Mark APIs as pre-release 2020-10-21 22:38:02 -07:00
Gabe Kangas 03151f1dd1 Render api documentation when openapi.yaml is updated 2020-10-21 22:36:19 -07:00
Gabe Kangas 2b8aea8797 Support a local working directory copy of ffmpeg. Closes #276 2020-10-21 21:47:42 -07:00
Gabe Kangas 131675bc03 Split out setting broadcaster details into its own file 2020-10-21 17:07:00 -07:00
72de85bc10 Add Javascript update Github Actions workflow (#275)
* JS update workflow

* Update package.json to see if workflow fires properly

* Commit updated Javascript packages

Co-authored-by: Owncast <owncast@owncast.online>
2020-10-20 18:38:37 -07:00
Gabe Kangas c6eeb1d208 jesus stop commiting node_modules you stupid github action 2020-10-20 15:24:40 -07:00
Gabe Kangas fb4a822cd8 Removing javascript workflow because it keeps commiting node_modules to the repo 2020-10-20 00:29:33 -07:00
Gabe Kangas 205ef8926e These files should not be added 2020-10-19 22:22:33 -07:00
Gabe Kangas 226242f07b Another test of the workflow 2020-10-19 22:16:54 -07:00
Gabe Kangas 2987b6a87c Update workflow 2020-10-19 22:16:37 -07:00
Gabe Kangas 3f50ce9bfc Revert "Commit updated Javascript packages"
This reverts commit a88734348a.
2020-10-19 22:14:27 -07:00
Gabe Kangas 5d03ecb694 Test workflow commit 2020-10-19 22:03:24 -07:00
Gabe Kangas 22f37df2a6 Trying a new github workflow to install javascript packages 2020-10-19 21:57:10 -07:00
Gabe Kangas 1290c757a2 Add cleanup to test content script 2020-10-19 21:42:52 -07:00
Gabe Kangas ea9579d899 Add multiple variants to the transcoder test 2020-10-19 21:34:42 -07:00
Gabe Kangas 7dcc89a841 Add system chat message support to messages query 2020-10-16 17:50:00 -07:00
Gabe Kangas f4815e331c Update chat styling 2020-10-16 17:46:44 -07:00
Gabe Kangas 1b821e4c4e Add a link to rocket.chat in the contact section of the readme 2020-10-16 16:12:49 -07:00
Gabe Kangas 3812e6345f Fix typo 2020-10-16 13:57:23 -07:00
Gabe Kangas 30c9bbe966 Size logo properly with the user image 2020-10-16 13:53:43 -07:00
Gabe Kangas f9039acadb Use SVG for default logos. Closes #261 2020-10-16 13:38:30 -07:00
Gabe Kangas 90ddf4f1b6 Remove yp section from config since we are not ready for it yet 2020-10-16 13:23:05 -07:00
Gabe Kangas 627f6ebbe3 Remove rogue file 2020-10-16 11:51:29 -07:00
Gabe Kangas 73ca2c2464 We use npx to run snowpack so it is not needed to install 2020-10-16 11:49:41 -07:00
Gabe Kangas 3ff993c2bc Stop logging every file that is uploaded 2020-10-16 10:08:23 -07:00
Gabe Kangas b9a80709ab Decrease the amount of time before the stream is made available to the player 2020-10-16 10:08:23 -07:00
Gabe Kangas eb0ee4dd8a Catch db error and show frienlier message. Closes #252 2020-10-15 17:57:32 -07:00
Gabe Kangas 8f740c4cb6 Cleanup private and optinally public segments on a timer instead of after every save. Closes #254 2020-10-15 17:50:17 -07:00
Gabe Kangas 2d71337146 Rename functions to be clearer that it is for offline cleanup 2020-10-15 16:17:33 -07:00
Gabe Kangas d403fd20f1 Do not auto-delete file on storage save. Add firing cleanup method 2020-10-14 17:32:02 -07:00
Gabe Kangas 2647b3fac8 Remove unused value 2020-10-14 17:00:35 -07:00
Gabe Kangas 5e45c53b87 Fix YP not being fired post-merges 2020-10-14 16:46:04 -07:00
Gabe Kangas 97fa8d70a7 Configure dependabot 2020-10-14 14:40:44 -07:00
Gabe Kangas fc988e1846 Setup dependabot for 3rd party go and javascript code 2020-10-14 14:10:38 -07:00
Gabe KangasandGitHub 6ea9affce0 HLS video handling/storage/state refactor (#151)
* WIP with new transcoder progress monitor

* A whole different WIP in progress monitoring via local PUTs

* Use an actual hls playlist parser to rewrite master playlist

* Cleanup

* Private vs public path for thumbnail generation

* Allow each storage provider to make decisions of how to store different types of files

* Simplify inbound file writes

* Revert

* Split out set stream as connected/disconnected state methods

* Update videojs

* Add comment about the hls handler

* Rework of the offline stream state.  For #85

* Delete old unreferenced video segment files from disk

* Cleanup all segments and revert to a completely offline state after 5min

* Stop thumbnail generation on stream stop. Copy logo to thumbnail on cleanup.

* Update transcoder test

* Add comment

* Return http 200 on success to transcoder. Tweak how files are written to disk

* Force pixel color format in transcoder

* Add debugging info for S3 transfers. Add default ACL.

* Fix cleanup timer

* Reset session stats when we cleanup the session.

* Put log file back

* Update test

* File should not be a part of this commit

* Add centralized shared performance timer for use anywhere

* Post-rebase cleanup

* Support returning nil from storage provider save

* Updates to reflect package changes + other updates in master

* Fix storage providers being overwritten

* Do not return pointer in save. Support cache headers with S3 providers

* Split out videojs + vhs and point to specific working versions of them

* Bump vjs and vhs versions

* Fix test

* Remove unused

* Update upload warning message

* No longer valid comment

* Pin videojs and vhs versions
2020-10-14 14:07:38 -07:00
Gabe KangasandGitHub 64a85e68aa Update extra page content API (#240)
* Mark change stream key api as pre-release

* Add API for changing extra page content. Renanme usercontent -> pagecontent. closes #236
2020-10-14 09:38:48 -07:00
Gabe KangasandGitHub d7c3991b59 Render and sanitize chat messages server-side. (#237)
* Render and sanitize chat messages server-side. Closes #235

* Render content.md server-side and return it in the client config

* Remove showdown from web project

* Update api spec

* Move example user content file
2020-10-13 16:45:52 -07:00
Gabe Kangas 9eab6d7553 Specify that these APIs are for v0.0.3 2020-10-12 10:52:12 -07:00
Gabe Kangas 962267106e Update demo links 2020-10-11 16:55:39 -07:00
Gabe Kangas 250dcf1d75 make logo fit size of user image avatar circle. closes #230 2020-10-08 21:15:46 -07:00
Gabe Kangas ce14e0d0a7 Remove additional viewer counts from status bar. Closes #155 2020-10-08 16:39:11 -07:00
Gabe Kangas 2aa9a86e3d Allow non-root paths for index.html when returning server-rendered metadata page. Closes #227 2020-10-08 16:34:40 -07:00
Gabe Kangas dfeba53f08 Reduce the amount of time between start of stream and when we show as online. Can bump this back up if needed. 2020-10-08 14:27:42 -07:00
Gabe Kangas 168ba9277e Do not use loopback as an example ip 2020-10-07 23:27:42 -07:00
Gabe Kangas aac7fa2476 Show YP configuration in the config API 2020-10-07 22:42:14 -07:00
Gabe Kangas 268085e41f I thought I already fixed this. Guess it got lost in a merge. 2020-10-07 20:53:01 -07:00
Gabe Kangas a7d9e2719a Do not try to split ip and port of x-forwarded-for addresses 2020-10-07 20:42:02 -07:00
Gabe Kangas bcf4cb09e7 Break rtmp read loop after disconnect 2020-10-07 19:59:55 -07:00
Gabe Kangas 06f8a01d5e Update our api definitions 2020-10-07 17:24:20 -07:00
Gabe Kangas 003648ed61 Update .gitignore 2020-10-07 00:28:43 -07:00
Gabe Kangas a5e2b4b934 Remove files 2020-10-07 00:27:41 -07:00
Gabe KangasandGitHub d7e355bce1 Connected clients admin API (#217)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Connected clients API with geo details

* Post-rebase cleanup

* Make setting and reading geo details separate operations to unblock and speed up

* Rename file

* Fire geoip api call behind goroutine

* Add comment

* Post-rebase fixes

* Add support for the MaxMind GeoLite2 GeoIP database
2020-10-06 23:14:33 -07:00
Gabe Kangas 0445274fbd Do not cache hls playlist files at all. Closes #229 2020-10-06 18:26:11 -07:00