Commit Graph

159 Commits

Author SHA1 Message Date
Ingo Oppermann
e6af09b982 Add test for fs cleanup 2024-10-01 16:11:38 +02:00
Ingo Oppermann
d2325d0832 Fix process cleanup 2024-10-01 15:16:30 +02:00
Ingo Oppermann
b0e932d77a Add avstream codec parameter 2024-09-05 13:56:22 +02:00
Ingo Oppermann
bc1b2cf76b Add profile and level to progress IO 2024-09-05 13:44:19 +02:00
Ingo Oppermann
1a51db01ea Add sample_fmt to API progress 2024-09-05 13:40:04 +02:00
Ingo Oppermann
70ffb805b4 Fix returning original config 2024-09-03 16:39:19 +02:00
Ingo Oppermann
46950372be WIP: Optimize copy from io.Reader, allow to suggest file size 2024-07-24 15:40:28 +02:00
Ingo Oppermann
54b1fe8e86 Dump casbin, replace with own policy enforcer 2024-07-23 15:54:09 +02:00
Ingo Oppermann
879819f10f Retrieve current process from leader, clone metadata, introduce new state 'deploying' 2024-07-22 16:58:57 +02:00
Ingo Oppermann
688450f341 Add nil checks, add NewTask function 2024-07-19 12:26:47 +02:00
Ingo Oppermann
72883d18d4 Remove bottlenecks in process handling, still some rough edges 2024-07-18 17:16:49 +02:00
Ingo Oppermann
15e1cd7b6f Use puzpuzpuz/xsync.MapOf for tasks, abstract tasks 2024-07-17 16:54:26 +02:00
Ingo Oppermann
de1c42e969 Don't do a file listing if no patterns are defined 2024-07-16 14:40:45 +02:00
Ingo Oppermann
96f7d8030c Disable locally persisting DB in cluster mode 2024-07-16 14:01:31 +02:00
Ingo Oppermann
b9796a46f2 Add test for type conversion 2024-07-12 09:00:47 +02:00
Ingo Oppermann
cb9ce6f1dc Fix nil pointer dereference 2024-07-11 12:33:51 +02:00
Ingo Oppermann
7e90bb87ce Allow to import report history for a process 2024-07-10 16:46:49 +02:00
Ingo Oppermann
480dbb7f53 Refactor cluster node code 2024-07-09 12:26:02 +02:00
Ingo Oppermann
a9d6b1ec49 Add API endpoints for relocating processes 2024-06-19 15:28:30 +02:00
Ingo Oppermann
cb3c6de2c8 Add optimized listing if no patterns are provided 2024-04-30 14:10:47 +02:00
Ingo Oppermann
03da97217b Use faster JSON and gzip packages 2024-04-24 15:42:11 +02:00
Ingo Oppermann
18bf51d334 Rename Initialized to Started 2024-04-15 14:46:05 +02:00
Ingo Oppermann
a6375da911 Add initialized field in progress data 2024-04-12 15:18:47 +02:00
Ingo Oppermann
709fb4ba85 Fix warning about unused param 2024-03-14 11:17:50 +01:00
Ingo Oppermann
f6bba7c571 Fix placeholder parsing 2024-03-14 11:15:10 +01:00
Ingo Oppermann
aaec24b898 Fix accessing RTMP stream without token or streamkey for anonymous users 2024-02-29 14:30:24 +01:00
Ingo Oppermann
a330ea6e7f Stop all processes in parallel for fast shutdown 2023-12-12 20:59:01 +01:00
Ingo Oppermann
74489775ca Propagate avstream debug object as interface 2023-12-06 20:23:22 +01:00
Ingo Oppermann
5d39620f6f Parse out avstream debug infos 2023-12-01 12:08:56 +01:00
Ingo Oppermann
a416beea08 Add stream mapping to process state, adjust addresses and indexes for HLS outputs 2023-09-26 14:52:54 +02:00
Ingo Oppermann
48cc454314 Add expose 'mode' from avstream progress 2023-09-20 20:53:50 +02:00
Ingo Oppermann
ad2a50df6f Separate resource type and resource for IAM policies 2023-09-18 17:11:09 +02:00
Ingo Oppermann
8fef2dea65 Add address resolver and validator for probe 2023-08-09 14:47:56 +03:00
Ingo Oppermann
d930a91cbb Provide Probe() a config instead of a process ID 2023-08-09 09:30:17 +03:00
Ingo Oppermann
3d7230444f Return *url.Userinfo from identity.GetServiceBasicAuth() 2023-08-08 17:19:57 +03:00
Ingo Oppermann
81581091e8 Move read-lock after function call that also uses that lock 2023-07-25 17:14:11 +02:00
Ingo Oppermann
3e842f2b2f Fix cleanup path becomes relative when prepended with domain 2023-07-23 20:39:49 +02:00
Ingo Oppermann
97a8e0f815 Use same permission mask 2023-07-19 17:41:02 +02:00
Ingo Oppermann
1f24ea1b00 Check for correct error 2023-07-19 17:18:58 +02:00
Ingo Oppermann
8a8ff6d4f4 Add LimitMode and Resources.CPU.IsThrottling to process state 2023-07-17 21:45:19 +02:00
Ingo Oppermann
62fdf8e370 List undeployed processes 2023-07-11 22:38:33 +02:00
Ingo Oppermann
9462ccfd48 Move IAM dependency to rewriter module 2023-07-10 13:20:24 +02:00
Ingo Oppermann
ccecbe3c8e Improve FFmpeg skills testing 2023-07-06 21:41:10 +02:00
Ingo Oppermann
2b58c11bb1 Fix cluster process update on metadata change 2023-06-28 16:26:36 +02:00
Ingo Oppermann
b35ac9ccc3 Allow proxied range requests, /cluster/process mimic /process 2023-06-21 13:14:27 +02:00
Ingo Oppermann
debcce192d Add the process domain to the bas path in placeholders and cleanup rules 2023-06-14 22:30:00 +02:00
Ingo Oppermann
30857b6f59 Fix filenames in benchmark 2023-06-12 11:56:44 +02:00
Ingo Oppermann
129058e633 Improve FS.List and FS.RemoveList functions, improve CleanupFS
The FS.List and FS.RemoveList are up to 42x faster by precompiling the
globbing pattern.

The CleanupFS from restreamer/fs is up to 32x faster in the benchmarks
and cleanup is now only every 5 seconds instead of every second.
2023-06-12 11:36:07 +02:00
Ingo Oppermann
7e7d1caca7 Add EmergencyLeaderTimeout parameter, ignore throttling nodes, implement NodeRecoverTimeout, introduce processNodeMap in cluster DB 2023-06-07 22:08:07 +02:00
Ingo Oppermann
08bdf752f1 Fix tests 2023-06-06 22:07:21 +02:00