knotteye
a3341d8b7d
Disable CRF when using hwaccel
3 years ago
knotteye
8a33b80593
Map streams automatically instead of manually
3 years ago
knotteye
943c71d1e0
Add what I think is working hwaccel support
3 years ago
knotteye
9df4b545ec
Update config.ts to include hwaccel options
3 years ago
knotteye
69d81ec836
Switch to using MySQL instead of bans.db
3 years ago
knotteye
7156accbee
Fix a bug where we weren't setting X-Auth-As on /api/register
...
Also fix new users appearing to not exist until they update their bio/profile
3 years ago
knotteye
814d826ec9
Modify the migration script to import existing data.
3 years ago
knotteye
a882285bac
Fix database functions regarding ch_bans since it's a special case
3 years ago
knotteye
57410dc969
Update database functions to create and destroy rows in new table.
3 years ago
knotteye
5c22c1a738
Add migration script for channel bans table in the database.
3 years ago
knotteye
cc8c4915f9
Distinguish between errors when loading the config file.
4 years ago
knotteye
33accfb8b7
Select scripts to run based on comparing version strings and script names.
...
This means scripts need to insert a version value the same as their name to db_meta. This is nothing new, it just works better now.
4 years ago
knotteye
3e073e7f66
Skip compiling templates when running migrations alone
4 years ago
knotteye
2de486da46
Switch to shaka-player and initialize it on pageload.
...
Maybe todo: more testing and re-check if the stream has started after the page has already loaded
4 years ago
knotteye
0900496d70
Fix a bug with migrate.ts calling a function incorrectly
4 years ago
knotteye
ab9a9b4585
Expose whether cluster mode is enabled over /api/instance/config
4 years ago
knotteye
01744df3cd
Fix a bug where XMPP bridge would repeatedly ignore channels
4 years ago
knotteye
ab082e5f95
Fix logging in cluster.ts
...
Fix a bug calling the cluster process in index.ts
Set a default value for rtmp.cluster in config.ts
Update documentation
4 years ago
knotteye
cfa7c5ab13
Implement XMPP mirror
4 years ago
knotteye
81afb7493b
Update config options for xmpp bridge
4 years ago
knotteye
06dc05eb8b
Add a dependency for xmpp mirroring and add configurability
4 years ago
knotteye
a5c1adfffc
Return live flag as well when getting user info
4 years ago
knotteye
5126bccbc7
Add configurability to cluster option
4 years ago
knotteye
80cf01ef30
Add unique ports per worker so that ffmpeg can reliably record.
4 years ago
knotteye
1ae7128b9d
Update server code
4 years ago
knotteye
7806b34cfa
Remove unused code
4 years ago
knotteye
bdfac44e21
Add the beginnings of the ability to cluster RTMP servers. It looks like there won't be a way to reliably play RTMP streams like this without digging into node-media-server code.
...
For now that means clustering will have the drawback of being able to do DASH only.
Still need to add a config option and reliable recording.
4 years ago
knotteye
95837beaf7
Make server side rendering fully configurable
4 years ago
knotteye
961b5fe648
Add config option to turn server side rendering off.
...
Ensure templates are precompiled before starting the server.
4 years ago
knotteye
988e3473a7
Big commit. Implement handlers for everything that's currently rendered server side in the client-side frontend.
...
Add compiled templates file to .gitignore, will work out a system for making sure templates are compiled later.
Fix a couple bugs in the API and templates.
TODO for client-side rendering:
Make sure templates get compiled before running the server.
Add a config option to switch between server-side and client-side rendering
Fancy SPA stuff like intercepting links to render changes without a page-reload
4 years ago
knotteye
57d0b0f856
initial work on client-side templating
4 years ago
knotteye
1a410a597a
Fix a bug checking the validity of invite codes
4 years ago
knotteye
eba53c3732
Rework invitation UI a bit, document API changes
4 years ago
knotteye
67de11e66b
Add API handling of invite codes, add web page for inviting users.
4 years ago
knotteye
9605ff8c92
Add a way to generate invites from the command line. Add database migration script.
4 years ago
knotteye
8caad60a43
Add functions for generating and using invite codes
4 years ago
knotteye
7b84253fc1
Add some logging for twitch mirror
4 years ago
knotteye
93738d27bc
Add sections in profile.njk for adjusting settings.
...
Everything tested and working apart from the actual streaming functionality.
4 years ago
knotteye
98927bd7b8
Add API functionality for twitch mirror.
4 years ago
knotteye
44cc3213ca
Tweak config changes, add functionality in server.ts
...
Still needs an API and a UI, then good to go.
4 years ago
knotteye
4ff4a6329d
Add configuration options for twitch mirror
4 years ago
knotteye
5fe4728c11
Add migration script and update remove and adduser functions.
...
Needs a UI, API, and functionality.
4 years ago
knotteye
ee3527f292
Implement database versioning and migration. It could not possibly be any simpler or easier to break, but it works. And it can be used to automatically migrate to a better system for migration later.
...
For now, the way it works is by creating a new migration script with the name of the version (increment by one, whole numbers) in the src/db folder
On start up, it will compare version numbers and run new scripts. The user can also manually check for migrations and skip the automatic checking.
Added a bit of additional logging to see what's happening in the startup process as well.
4 years ago
Karen Konou
15824d25c0
Add live field to /api/users/all
4 years ago
knotteye
108d7ad0b7
Fix /api/instance/config
4 years ago
knotteye
01e872c552
Fix a bug with trying to update IRC channels when IRC is disabled.
4 years ago
knotteye
4959391034
Increment minor version
...
Remove debug code
4 years ago
knotteye
c9accda4eb
Tune ffmpeg command to start playback and transcode faster
...
Add option for custom flags
4 years ago
knotteye
654b65640f
Change API to set content-type headers.
...
Rework some responses to make all responses in JSON.
Increment version because of major API changes.
4 years ago
knotteye
c55ccb75aa
Fix incorrect reporting of domain in the api
4 years ago