Commit Graph
100 Commits
Author SHA1 Message Date
Gabe Kangas 34c4350597 Add some more va-api codec error mappings 2021-04-21 17:48:39 -07:00
Gabe Kangas a9459c4370 Simplify about footer version link 2021-04-21 09:46:48 -07:00
Gabe Kangas e57c3475b4 Add actions to spec. Mark as 0.0.7 2021-04-20 18:48:47 -07:00
Gabe Kangas 3e70d773a6 Update admin bundle 2021-04-19 19:12:54 -07:00
Gabe Kangas ba711ff4c9 Pass along url params to external url action 2021-04-19 16:03:25 -07:00
Gabe Kangas 81ccd779b3 Update admin bundle 2021-04-19 14:06:57 -07:00
Gabe Kangas a06a9c58ea Add i965-va-driver-shader missing error 2021-04-15 22:25:28 -07:00
Gabe Kangas 8287484cc6 Add Google FLoC opt-out header on web page requests. Closes #939 2021-04-15 22:25:07 -07:00
Gabe Kangas fb637e20ed Slap the custom css into a style tag. Closes #718 2021-04-15 22:00:46 -07:00
Gabe Kangas 543577c2e0 Create hls directories at transcoder start to account for stream output changes. Fixes #940 2021-04-15 21:36:14 -07:00
Gabe Kangas 05c3c9c7f7 Update admin bundle 2021-04-15 19:25:00 -07:00
Gabe Kangas bfc5dae960 Stop pointing to admin branch 2021-04-15 13:56:35 -07:00
5214d81264 Codec selection (#892)
* Query for installed codecs

* Start modeling out codecs

* Can now specify a codec and get the correct settings returned from the model

* Return codecs in admin/serverconfig

* Start handling transcoding errors and return messages to user

* filter available codecs against a whitelist

* Fix merge

* Codecs are working

* Switching between codecs work

* Add apis for setting a custom video codec

* Cleanup the logging of transcoder errors

* Add v4l codec

* Add fetching v4l

* Add support for per-codec presets

* Use updated nvenc encoding parameters

* Update log message

* Some more codec WIP

* Turn off v4l. It is a mess.

* Try to make the lowest latency level a bit more playable

* Use a human redable display name in console messages

* Turn on transcoder persistent connections

* Add more codec-related user-facing error messages

* Give the initial offline state transcoder an id

* Force a minimum segment count of 3

* Disable qsv for now. set x264 specific params in VariantFlags

* Close body in case

* Ignore vbv underflow message, it is not actionable

* Determine a dynamic gop value based on the length of segments

* Add codec-specific tests

* Cleanup

* Ignore goconst lint warnings in codec file

* Troubleshoot omx

* Add more codec tests

* Remove no longer accurate comment

* Bundle admin from codec branch

* Revert back to old setting

* Cleanup list of codecs a bit

* Remove old references to the encoder preset

* Commit updated API documentation

* Update admin bundle

* Commit updated API documentation

* Add codec setting to api spec

* Commit updated API documentation

Co-authored-by: Owncast <owncast@owncast.online>
2021-04-15 13:55:51 -07:00
Gabe Kangas f216e781dd Reduce log level on data getters 2021-04-14 16:06:22 -07:00
Gabe KangasandGitHub 76e90df1f3 Update javascript-packages.yaml 2021-04-12 23:13:26 -07:00
Gabe Kangas 79cda48d19 Update admin bundle 2021-04-12 20:08:01 -07:00
Gabe Kangas f313f69946 Return success on custom styles save 2021-04-12 00:06:56 -07:00
Gabe Kangas 0b6c827557 master -> develop 2021-04-11 19:50:47 -07:00
Gabe Kangas 1b27d0b46d Do not copy data dir on build. Create data dir if needed on launch 2021-04-11 19:47:57 -07:00
Gabe Kangas 7dc5da3899 Update API spec to include custom styles 2021-04-11 19:34:05 -07:00
Gabe Kangas e985178aa2 Missing slash 2021-04-11 19:34:05 -07:00
Gabe Kangas df7dff081f Set and get custom styling for web interface. For #718 2021-04-11 19:34:05 -07:00
Gabe KangasandGitHub 36be7b76c2 If no logo exists copy a default one into data on launch. Closes #909 (#916) 2021-04-11 16:44:50 -07:00
Gabe Kangas a4309fd899 Remove the glare from the svg logo 2021-04-10 19:28:37 -07:00
Gabe Kangas 36154bc4c0 Fix permissions error on automated linter.
This reverts commit bf06467f2d.
2021-04-10 19:27:24 -07:00
Gabe KangasandGitHub bf06467f2d Removing lint.yml and consolidating into the formatting job 2021-04-10 19:22:18 -07:00
Gabe Kangas 7fe67cb853 Update gopsutil 2021-04-10 18:21:40 -07:00
Gabe Kangas 2c4cc27baa Update admin bundle 2021-04-08 21:13:08 -07:00
Gabe Kangas 5188ac951c Remove old default config file 2021-04-08 21:07:11 -07:00
Gabe Kangas 4b0b5dd6ea Update admin bundle 2021-04-07 22:32:14 -07:00
Gabe Kangas 06e5154042 Change size of splash bg image. Closes #893 2021-04-07 22:14:49 -07:00
Gabe Kangas 12509c1bc2 Change log level 2021-04-07 00:13:30 -07:00
Gabe Kangas f81c78f9e1 Sort bitrates for displaying. Closes #889 2021-04-04 19:56:11 -07:00
Gabe Kangas 6c7945f591 Bundle updated admin 2021-04-04 18:45:23 -07:00
Gabe Kangas 64a5720a21 Allow unique streampipe fifos. Closes #883 2021-04-01 18:56:00 -07:00
Gabe Kangas 7556671afc Fix race condition where initial offline video state was not written 2021-03-31 23:08:27 -07:00
Gabe Kangas 12f56f5571 Hide external action modal spinner 2021-03-31 22:28:55 -07:00
Gabe Kangas 1f659c47b0 Move external action buttons 2021-03-31 22:28:39 -07:00
Gabe Kangas 075448ae2b Update nightly cron job 2021-03-30 17:37:58 -07:00
Gabe Kangas 69287cf9a2 Use the date as the version number for nightly builds 2021-03-30 17:06:59 -07:00
Gabe Kangas bf93d2decc build docker image every night 2021-03-29 20:49:41 -07:00
Gabe Kangas be612de2ed Fix the loading image persisting. Closes #863 2021-03-27 20:47:59 -07:00
Gabe Kangas 9a65d7c43f Copy logo.svg into the docker image on build. Closes #859 2021-03-27 18:07:23 -07:00
Gabe Kangas 829ee6c989 Save web port number for future launches when specifying it on the command line. Closes #860 2021-03-27 17:37:08 -07:00
Gabe Kangas acc83e46c9 Update admin bundle 2021-03-25 21:25:40 -07:00
Gabe Kangas 3ad221665e Handle un-typed or un-parsable chat messages by throwing them away and not panicing. Closes #856 2021-03-25 19:20:05 -07:00
Gabe Kangas 320bd95b0f Add noreferrer to foter link 2021-03-23 23:51:08 -07:00
Gabe Kangas 08e8b5f702 Bump working api spec version 2021-03-23 23:49:40 -07:00
Gabe Kangas dca9afcaa1 Point to local logo for noscript image 2021-03-23 23:48:08 -07:00
Gabe Kangas 5dc5de815c Experiment with showing logo while loading. For #849 2021-03-22 21:52:17 -07:00
Gabe Kangas bdc669d571 Show player loading spinner. Closes #848 2021-03-22 21:15:26 -07:00
Gabe Kangas 1509a65167 Guard against pinging YP when offline. Closes #600 2021-03-22 20:31:25 -07:00
Gabe Kangas 368dcb8823 Do not show output quality selector if there is only one option. closes #832 2021-03-17 21:30:43 -07:00
Gabe Kangas e015ea60c5 Fix system actions not rendering markdown 2021-03-17 21:11:17 -07:00
Gabe Kangas 1bb4a68b18 Bump version number 2021-03-16 19:35:09 -07:00
Gabe Kangas bdf0d365c3 Point YP PING requests at new endpoint 2021-03-16 13:57:28 -07:00
Gabe Kangas e366989a7d Fix version string for local dev 2021-03-15 16:58:26 -07:00
3fb80554ef Gek/external actions (#827)
* WIP External actions modal frontend

* Add external action links

* Allow modal to show/hide and use a dynamic url

* Use external link object instead of just url for state

* add style and placement to external action buttons

* reformat and simplify tag list style as not to conflict with action buttons and make them look less actionable since they're not

* fix bug to open modal

* have Esc key close modal

* fix style on modal

* make modal bg darker

* close modal when you click outside of it

* fix zindex

* Add support for external action icons and colors

* Some external action modal sizing + loading spinner

Co-authored-by: Ginger Wong <omqmail@gmail.com>
2021-03-15 15:32:52 -07:00
Gabe Kangas 777de9fbf4 Remove in-line rendering of images by url 2021-03-14 12:08:42 -07:00
Gabe KangasandGitHub bf33d08384 Add support for disabling chat. Closes #472 (#799) 2021-03-14 11:46:27 -07:00
Gabe KangasandGitHub 6f545a905b Support full html in system messages. Closes #747 (#814) 2021-03-12 00:43:10 -08:00
Gabe Kangas 55da8a41e0 Update admin bundle 2021-03-11 13:41:16 -08:00
Gabe KangasandGitHub c713e216d3 Allow selection of different stream variants in the player (#815)
* WIP video quality selector

* The quality selector works even though it is not pretty

* Support getting and setting variant name. Closes #743

* Sort video qualities

* Fix odd looking selected states of menubutton items

* Fix comment
2021-03-11 12:51:43 -08:00
Gabe KangasandGitHub 4f012fab56 Add nebunez to dependabot alerts 2021-03-10 16:46:41 -08:00
Gabe KangasandGitHub 896c7b57ef Remove code formatting on PRs 2021-03-09 14:25:00 -08:00
Gabe KangasandGitHub de195f883e Gek/disable remote images (#800)
* Disable images from anywhere but our emojis. Closes #756

* Add tests around images in chat messages

* Update sanitizer + test
2021-03-08 23:20:15 -08:00
Gabe Kangas 36645437ef Do not copy the config file into Docker builds 2021-03-07 22:46:51 -08:00
Gabe Kangas e713852c67 Fix Dockerfile to pass along the correct platform name 2021-03-07 21:02:25 -08:00
Gabe Kangas 89cf92640c Try to fix builds saying they are dev 2021-03-07 20:29:44 -08:00
Gabe Kangas c9052bab9f Fix broken image in admin bundle 2021-03-07 19:53:58 -08:00
Gabe Kangas e15fd4ed66 Update admin bundle 2021-03-07 19:25:54 -08:00
Gabe KangasandGitHub c27620d656 Never mark issues with a milestone as stale 2021-03-04 21:24:50 -08:00
Gabe Kangas db0b813eea Do not execute chat-only or video-only js from main app. Closes #787 2021-03-04 14:08:53 -08:00
Gabe Kangas a67e938875 allocate yp at launch to allow for enabling it later 2021-03-04 01:48:10 -08:00
Gabe Kangas 49bb899d51 Optimize/fix concurrency for chat 2021-03-03 21:48:11 -08:00
Gabe Kangas 1e0b1b389d Update admin bundle 2021-03-02 22:35:35 -08:00
Gabe Kangas 2854d2a907 Update admin bundle 2021-03-02 21:06:31 -08:00
Gabe Kangas 4a233ab7ac Return detailed error. Closes #781 2021-03-02 19:10:27 -08:00
Gabe Kangas 717e4f9ceb Remove platforms.js from preload list. Closes #774 2021-03-01 18:29:19 -08:00
Gabe KangasandGitHub c19462a20e Link GitHub to OpenCollective 2021-02-28 17:25:05 -08:00
Gabe Kangas 8c8aa31e30 Update admin bundle 2021-02-27 00:13:56 -08:00
Gabe Kangas d8e6b75b5f No longer reset max viewer count at cleanup. Only do it at new stream start. Fixes #768 2021-02-26 22:15:46 -08:00
Gabe Kangas 15af4af770 Fix websocket load test not sending required event type 2021-02-26 22:14:08 -08:00
Gabe Kangas 1d9774e453 Display the current value not the threshold 2021-02-24 23:48:31 -08:00
Gabe Kangas 4f833be80a Add ability to mark a message as ephemeral and set it with title changes 2021-02-23 11:24:32 -08:00
Gabe Kangas 8f1681c7aa Remove unused model 2021-02-23 11:23:51 -08:00
Gabe Kangas 68eecab29b Hardcode logo to be /logo 2021-02-22 23:32:59 -08:00
Gabe Kangas f1a1b9d2e6 Always return stream title with yp response 2021-02-22 23:18:56 -08:00
Gabe Kangas 0bfd9f8e1f Do not send user joined events to chat clients if stream is not active. Closes #750 2021-02-21 16:21:12 -08:00
Gabe Kangas b47589fa8f Print out a log message saying what image is being copied where 2021-02-21 16:03:42 -08:00
Gabe Kangas ebc3070ea0 Assume videopassthrough is enabled if bitrate is zero 2021-02-21 13:10:24 -08:00
Gabe Kangas b1368db079 Fix yaml property name 2021-02-21 13:06:32 -08:00
Gabe Kangas 765dd7efe2 Fix chat history backlog query. Closes #748 2021-02-21 12:13:46 -08:00
Gabe Kangas 3663c1bcfd Add default logo to data 2021-02-21 11:16:41 -08:00
Gabe KangasandGitHub 3ae6f82701 Update prettier action + only look at webroot 2021-02-21 11:02:51 -08:00
Gabe Kangas 106dfc0ff0 Update admin bundle 2021-02-20 17:21:41 -08:00
Gabe Kangas dc8cdb09d5 Fix metadata.html crash. Closes #746. Re: #685 2021-02-20 16:47:47 -08:00
Gabe Kangas 7ef1ded021 Update admin bundle 2021-02-18 23:12:03 -08:00
Gabe Kangas 650620dcd7 Bundle admin from master instead of 0.0.6 2021-02-18 23:12:03 -08:00
Gabe Kangas 396bff54fd Mark api spec as 0.0.6 2021-02-18 23:07:53 -08:00