Commit Graph
100 Commits
Author SHA1 Message Date
Gabe Kangas 54a9206051 Support chat message word wrapping if needed 2020-07-19 23:55:16 -07:00
Gabe Kangas 0e45bd9ca3 Ok make the avatars a bit larger 2020-07-19 23:27:17 -07:00
Gabe Kangas cbbff2e5f5 Create padding around chat avatars and the colored container 2020-07-19 22:57:42 -07:00
Gabe Kangas 0fb48d8a7c Add favicon(s). Closes #75 2020-07-19 22:27:42 -07:00
Gabe Kangas b754ee01bf Remove IPFS. For #74 2020-07-19 21:15:53 -07:00
Gabe Kangas 4ec076cf34 Strip debug symbols from binary. For #76 2020-07-19 19:04:49 -07:00
Gabe Kangas 05c511848a Use the thumbnail for opengraph if online 2020-07-19 18:39:27 -07:00
Gabe Kangas 2ae227360a Hide viewer stats when in offline mode. Closes #66 2020-07-19 17:29:16 -07:00
Gabe Kangas 1ae1e94368 Disable text input by default 2020-07-19 17:20:26 -07:00
Gabe Kangas c0e4f647a2 Show chat by default. Closes #72. Show placeholder text that no registration is needed. Closes #73 2020-07-19 15:15:39 -07:00
Gabe Kangas fbfea8e38c Throw and error if a stream key is not set in the config 2020-07-18 17:46:18 -07:00
Gabe Kangas fff911010c Centralize default values into an instance of config. For #64 2020-07-18 17:41:15 -07:00
Gabe KangasandGitHub 2855027f22 Use endpoint for chat history instead of websocket (#67)
* Change placeholder when chat is disabled

* Use the /chat endpoint for bulk chat history population instead of websocket. For #47

* Force LiveUI/seek bar during live to show. Closes #11.

* Change pulling chat history into app.js

* Force new messages to have visability = true
2020-07-18 17:27:04 -07:00
Gabe Kangas 7c6d7669c4 Whoops. Missing file. Thanks automated build 2020-07-18 15:39:30 -07:00
Gabe Kangas a266633a9a Force LiveUI/seek bar during live to show. Closes #11. 2020-07-18 15:37:17 -07:00
Gabe Kangas 8ba0b6d7ce Show in the UI how long the user has been streaming for. Closes #59 2020-07-18 15:08:43 -07:00
Gabe Kangas addfce2ec9 Change placeholder when chat is disabled 2020-07-16 20:15:08 -07:00
Gabe Kangas 3eba516f04 Add cachebuster to source to force new video. Attempt to fix #63 2020-07-16 19:54:12 -07:00
Gabe Kangas 2afde7b3f9 Fix missing default video bitrate if none is supplied 2020-07-15 23:56:14 -07:00
Gabe Kangas a277012650 Limit the backlog of chat messages to recent messages. For #47 2020-07-15 22:06:24 -07:00
Gabe Kangas aebbce4b76 Add some simple load tests 2020-07-15 21:40:22 -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 26e4092295 Cleanup unnecessary items in main readme 2020-07-15 16:46:26 -07:00
Gabe Kangas 5f37baf410 Use higher quality logo in config 2020-07-15 16:24:54 -07:00
Gabe Kangas 5fe9955f26 Increase the time between broadcast started and when we are marked as online 2020-07-15 16:14:12 -07:00
Gabe Kangas ccf556eb39 uncomment 2020-07-15 10:40:04 -07:00
Gabe Kangas 95fd8aed96 Added a basic transcoder test 2020-07-14 18:54:52 -07:00
Gabe Kangas a9a46a4493 Run the container in the background so Github actions does not get hung up 2020-07-14 18:22:07 -07:00
Gabe Kangas 738570563e Update the dev dockerfile and build dockerfile to fix #60 2020-07-14 17:51:48 -07:00
Gabe Kangas a7a9ae0984 Fix incorrect logging method 2020-07-14 16:48:41 -07:00
Gabe Kangas 63954d4e1b We only have a single test, but might as well run it anyway 2020-07-14 16:46:58 -07:00
Gabe Kangas 58858c99c2 Github action for building binary + docker image 2020-07-14 16:27:53 -07:00
Gabe Kangas a11999c3c0 Log cleanup 2020-07-13 23:55:12 -07:00
Gabe Kangas ec83e11bd9 Approximately 3 segments should be available before playback can start 2020-07-13 23:51:55 -07:00
Gabe Kangas dd1b9411bf Add verbose logging for RTMP metadata 2020-07-13 23:32:35 -07:00
Gabe Kangas 4559bde977 Most things have 30 as a standard fps instead of 25 2020-07-13 20:58:45 -07:00
Gabe Kangas a9a83f78a3 Set a default framerate so we can specify the correct iframe settings 2020-07-13 19:37:25 -07:00
Gabe Kangas ab21706d73 Add our own botlist for user-agent matching. Closes #51 2020-07-13 19:07:30 -07:00
Gabe Kangas 46b3922e1d Add who Owncast is not for question in FAQ 2020-07-13 17:11:34 -07:00
Gabe Kangas 8dfe3360e1 Fix typo 2020-07-13 16:29:03 -07:00
Gabe Kangas 579688ba36 Comment and document configuration stuffs 2020-07-13 15:53:57 -07:00
Gabe Kangas fe102e7164 Make setting the offline content optional 2020-07-13 15:13:24 -07:00
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