Commit Graph
100 Commits
Author SHA1 Message Date
Gabe Kangas 15f24b84ce Make setting extraUserInfoFileName optional 2020-07-13 15:10:16 -07:00
Gabe Kangas b23adcecb1 Remove extra items in config to continue to simplify 2020-07-13 15:04:53 -07:00
Gabe Kangas 8e473048ff Remove S3 and IPFS frome example config as they are optional 2020-07-13 14:57:00 -07:00
Gabe Kangas 0027957a33 Make setting the max # of segments in playlist optional 2020-07-13 14:55:21 -07:00
Gabe Kangas 9b104f1d40 Make setting the web server port optional 2020-07-13 14:48:56 -07:00
Gabe Kangas 44806d1a8e Make setting save location paths optional 2020-07-13 14:45:54 -07:00
Gabe Kangas d51901e191 Make setting the segment length optional 2020-07-13 14:39:44 -07:00
Gabe Kangas 51e2e68017 Support default path of ffmpeg and not needing to specify it in the config 2020-07-13 14:32:12 -07:00
Gabe Kangas 5b0eb8834f Fix mastodon typo. Closes #57 2020-07-13 14:16:41 -07:00
Gabe Kangas bd5fce42c0 Add screenshot to README 2020-07-13 08:33:10 -07:00
Gabe Kangas d8960f420a Updated build script to use xgo and support cgo. Closes #54 2020-07-12 23:19:08 -07:00
Gabe Kangas 8cedf05214 Basic chat persistence for #26 2020-07-12 14:59:40 -07:00
Gabe Kangas 28778d6437 Update documented paths for config file since it was changed to the
root. Addresses #52
2020-07-12 13:13:22 -07:00
Gabe Kangas 78edee10cb Do not set poster on status polls for now 2020-07-12 11:02:49 -07:00
Gabe Kangas c553637521 Cleanup 2020-07-12 09:52:54 -07:00
Gabe Kangas 2bd016ae15 Add default video settings if none are provided 2020-07-12 09:52:54 -07:00
Gabe Kangas 873e2535f8 Additional log msg 2020-07-12 09:52:54 -07:00
Gabe Kangas 1409477dce Use the built-in AAC codec 2020-07-12 09:52:54 -07:00
Gabe Kangas a0d27df8c6 Re-work RTMP for #34 2020-07-12 09:52:54 -07:00
Gabe Kangas 8f832dad5a Add support for stopping the transcoding process 2020-07-12 09:52:54 -07:00
Gabe Kangas 072abf2976 Fix log message 2020-07-12 09:52:54 -07:00
Gabe Kangas 6624670813 Do not die if there is a missing audio or video stream in source. #34 2020-07-12 09:52:54 -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 0a3691e25e Flip local bool 2020-07-12 09:52:54 -07:00
Gabe Kangas baaf556c54 Log level change 2020-07-12 09:52:54 -07:00
Gabe Kangas ef295b6794 Cleanup + poll connection for disconnected state. For #34 2020-07-12 09:52:54 -07:00
Gabe Kangas 0aa3159372 Works if I mux restream to ts, not flv 2020-07-12 09:52:54 -07:00
Gabe Kangas 43d434747b Attempt with Joy5 2020-07-12 09:52:54 -07:00
Gabe Kangas d7a2ffcca4 Add timestamp to messages. For #26 2020-07-11 19:09:01 -07:00
Gabe KangasandGitHub b7231847e1 Create CODE_OF_CONDUCT.md
Add code of conduct file.
2020-07-08 17:08:28 -07:00
Gabe KangasandGitHub 61b62ee77b Create LICENSE
Adding MIT license.
2020-07-08 17:07:09 -07:00
Gabe Kangas 1ea62e6b05 Add new FAQ doc to point people to 2020-07-07 21:48:18 -07:00
Gabe Kangas 8b80afad96 Add Docker image to build script. Commented out. Closes #35 2020-07-07 00:23:21 -07:00
Gabe Kangas 4344ab6b00 Revert "Create thumbnail from end of segment. Closes #14"
This reverts commit 266fe51028.
2020-07-06 22:39:07 -07:00
Gabe Kangas 081024569e Another logging tweak 2020-07-06 22:24:55 -07:00
Gabe Kangas 266fe51028 Create thumbnail from end of segment. Closes #14 2020-07-06 22:16:40 -07:00
Gabe Kangas ba69221394 Support disabling the web UI with disableWebFeatures. Closes #32 2020-07-06 21:53:30 -07:00
Gabe Kangas 259923b303 Set logging preferences via command line flags. Closes #20 2020-07-06 21:27:31 -07:00
Gabe Kangas 1133edf716 Use the highest quality video segment to creat thumbnails from. Closes 2020-07-06 20:34:34 -07:00
Gabe Kangas 9357192947 Comment out tagging for now since we are not making actual releases 2020-07-06 16:26:38 -07:00
Gabe Kangas 180534cfaf Force poster to reload so it uses the recent thumbnail. #37 2020-07-06 00:04:07 -07:00
Gabe Kangas af2a0d4019 Fix rendered template. Closes #38 2020-07-05 23:49:48 -07:00
Gabe Kangas 3e042866ec Fix multiple bitrates not being uploaded to s3. Closes #40 2020-07-05 22:03:53 -07:00
Gabe Kangas 1f51ef9668 Add version string to config endpoint 2020-06-30 17:49:17 -07:00
Gabe Kangas 85cec76445 Move around how SocialHandles are configured. Closes #30 2020-06-30 17:12:02 -07:00
Gabe Kangas b4c9654dac Swap out server-side agent detection. 2020-06-30 16:49:39 -07:00
Gabe Kangas ea9a1a3afd Support webcrawers, bots, opengraph with a basic server-rendered metadata page. Closes #36 2020-06-30 00:09:40 -07:00
Gabe Kangas 46177b8163 Update documentation since people might try and run this soon 2020-06-28 16:31:54 -07:00
Gabe Kangas ae2e98877b Remove no longer used property 2020-06-28 15:42:48 -07:00
Gabe Kangas f949adb40c Remove panic and log error if file no longer exists. Closes #31 2020-06-28 15:30:43 -07:00
Gabe Kangas 519c3aa8b5 Support a map of logos for #30 2020-06-28 15:14:57 -07:00
Gabe Kangas 73b6937496 Consolidate config files and surface frontend values via API. Closes #30 2020-06-28 15:10:00 -07:00
Gabe Kangas a9b8a70e8a Change the poster based on online status 2020-06-25 21:56:43 -07:00
Gabe Kangas 20eb8287ef Reset after player ended to force poster. Break out reset function. 2020-06-25 21:24:43 -07:00
Gabe Kangas a31076a591 Fix I guess what was a typo 2020-06-25 18:26:54 -07:00
Gabe KangasandGitHub 04dc0796d8 New video transcoder (#27)
* New video transcoder

* Set a smaller max muxing size + logging tweaks

* No need to return an err since it wiill panic anyway

* Use a default encoder preset if one is not supplied

* Rename to NewTranscoder.  Add comments.

* Rename Bitrate to VideoBitrate. Config file changes required with this rename.

* Allow overrides of segment length. Allow offline stream to live in a single segment

* Append offline state video to existin HLS stream instead of overwriting because players do not like that

* Make properties private as they do not need to be exported
2020-06-25 17:44:47 -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 4132cf6d09 Move where the message type is set, and standardize on all caps CHAT 2020-06-24 23:20:19 -07:00
Gabe Kangas 8878ca1e88 Have both connect and disconnect time in the status API 2020-06-24 22:52:05 -07:00
Gabe Kangas a297e33eff Make IDs for chat messages generated server-side, not client. For #26 2020-06-24 22:00:49 -07:00
Gabe Kangas 5dffaf215b Fix missing poster in the player. Closes #29 2020-06-24 14:34:22 -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
Gabe Kangas b0768de6c0 Remove panic from thumbnail generation 2020-06-22 13:43:45 -07:00
Gabe Kangas b6085130c6 Fix build script 2020-06-22 13:43:45 -07:00
Gabe Kangas 22a1eb90ab Fix hls_list_size and delete_segments not working 2020-06-21 06:01:16 +00:00
Gabe Kangas 7d5104d581 Get rid of obviously bad performance in the slice of segments and reference each in a map instead 2020-06-21 06:01:09 +00:00
Gabe KangasandGitHub b1e1d0168a Merge pull request #17 from graywolf336/update-module-path
Update the module path
2020-06-19 18:05:27 -07:00
Gabe Kangas 04dd7d7f90 Explicitly set poster in js 2020-06-19 13:40:44 -07:00
Gabe Kangas 4c194afce9 Experiment with markdown being supported in chat messgaes 2020-06-19 13:40:36 -07:00
Gabe Kangas 7bdc9052d3 Fix undefined reference in js 2020-06-19 12:19:18 -07:00
Gabe Kangas 56f7dbba9f Fix offline video while in passthrough mode, it needs an explicit output bandwidth 2020-06-19 11:38:20 -07:00
Gabe KangasandGitHub a81d95eafa Merge pull request #15 from graywolf336/prevent-duplicate-streams
Reject second stream attempting to overtake existing stream
2020-06-19 10:29:08 -07:00
Gabe Kangas 04e8e2d82d Fix passthrough video setting 2020-06-18 22:38:01 -07:00
Gabe Kangas 886485255a Fix errors on Firefox 2020-06-18 20:46:07 -07:00
Gabe KangasandGitHub 88b2301321 Merge pull request #10 from graywolf336/fix-initial-offline-state
Fix initial offline state
2020-06-18 18:08:26 -07:00
Gabe Kangas 69da77b054 Fix short segment thumbnails. Move to JPG thumbs. Fix default thumb copy. 2020-06-18 17:56:06 -07:00
Gabe Kangas cfc7ea7967 Remove log 2020-06-18 15:31:51 -07:00
Gabe Kangas 465fa84b17 Add some more to .gitignore 2020-06-18 15:12:39 -07:00
Gabe Kangas 55776b0136 Add default thumbnail 2020-06-18 15:12:25 -07:00
Gabe KangasandGitHub f1d945f4ca Merge pull request #5 from graywolf336/add-gitignore
Add a gitignore file
2020-06-18 15:00:41 -07:00
Gabe Kangas 26760b3be1 Rework how videojs is initialized 2020-06-18 14:38:06 -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 3ce6026cc8 Simplify videojs init 2020-06-18 01:24:09 -07:00
Gabe Kangas e8edce5178 Continue to troubleshoot race condition at launch 2020-06-18 01:23:52 -07:00
Gabe Kangas 1c3031acb0 Throw an error if version is not specified in build script 2020-06-17 23:54:55 -07:00
Gabe Kangas 6bc10dc812 Add web content file to build 2020-06-17 23:24:27 -07:00
Gabe Kangas e083663a77 Continue to standardize on logging 2020-06-17 23:01:49 -07:00
Gabe Kangas 02692befc6 Troubleshooting race condition 2020-06-17 23:01:31 -07:00
Gabe Kangas e63d0656ba Add basic file upload retry with a hardcoded limit 2020-06-17 22:01:53 -07:00
Gabe Kangas 728b5fe3d7 Update videojs 2020-06-17 21:14:58 -07:00
Gabe Kangas d00d5d3390 Disallow caching of hls playlists client-side 2020-06-17 21:02:16 -07:00
Gabe Kangas b0a73a99b9 Add ability to populate the content area in the page with a markdown file 2020-06-17 20:56:24 -07:00
Gabe Kangas 594e1c774a Add ability to populate the content area in the page with a markdown file 2020-06-17 20:20:28 -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 f20d8b3179 Troubleshoot player not getting ready event on production server 2020-06-17 17:48:33 -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 06ec265038 Use on Ready event instead of player setup hook 2020-06-17 17:16:34 -07:00
Gabe Kangas 431c1a54e7 Split out status polling into own file 2020-06-17 16:35:47 -07:00