Commit Graph

207 Commits

Author SHA1 Message Date
Ingo Oppermann
e45f80ed42 Fix tests 2023-04-26 09:50:09 +02:00
Ingo Oppermann
a2dab2682f Fix not propagating process limits 2023-04-26 09:49:28 +02:00
Ingo Oppermann
e849d325bd Merge branch 'dev' of github.com:datarhei/core into dev 2023-04-25 15:57:28 +02:00
Ingo Oppermann
9b6354ab94 Revert commit b58cc8a7ee 2023-04-25 15:57:17 +02:00
Jan Stabenow
bea10cb114 Mod bumps FFmpeg to v5.1.3 2023-04-25 13:56:21 +02:00
Ingo Oppermann
b58cc8a7ee Fix race condition 2023-04-24 16:09:01 +02:00
Ingo Oppermann
061542645c Fix test 2023-04-24 12:28:42 +02:00
Ingo Oppermann
b3696f492d Update changelog 2023-04-24 12:10:40 +02:00
Ingo Oppermann
317d6eb4d9 Add updated_at field in process infos 2023-04-24 12:05:01 +02:00
Ingo Oppermann
6ddd58a124 Preserve process log history when updating a process 2023-04-24 11:59:09 +02:00
Ingo Oppermann
d807becc8a Add support for input framerate data from jsonstats patch 2023-04-13 15:22:33 +02:00
Ingo Oppermann
a1682b7aa4 Fix parsing S3 storage definition from environment variable 2023-04-13 12:19:20 +02:00
Ingo Oppermann
aef1b7c9a2 Fix #10 2023-04-11 15:04:31 +02:00
Ingo Oppermann
0e73a0fdf3 Clarify metric descriptions 2023-04-11 14:52:27 +02:00
Ingo Oppermann
7e9e6fce8d Add number of keyframes and extradata size to process progress data 2023-04-04 20:44:57 +02:00
Ingo Oppermann
baf1c3391a Deprecate ENV names that do not correspond to JSON name 2023-04-03 21:21:02 +02:00
Ingo Oppermann
6eefa5ca2b Fix purging default file from HTTP cache 2023-04-03 10:27:04 +02:00
Ingo Oppermann
48678fb4c6 Fix purging default file from HTTP cache 2023-03-23 11:17:13 +01:00
Ingo Oppermann
52df872198 Update changelog 2023-03-22 15:52:06 +01:00
Ingo Oppermann
de207b02a1 Fix URL validation if the path contains FFmpeg specific placeholders 2023-03-22 15:49:52 +01:00
Ingo Oppermann
3149572a64 Fix freeing up S3 mounts 2023-03-17 18:40:20 +01:00
Ingo Oppermann
562b7aed92 Use better naming for storage endpoint documentation 2023-03-17 13:55:19 +01:00
Ingo Oppermann
f345707c63 Update README 2023-02-23 10:23:32 +01:00
Ingo Oppermann
cbf15c7f2f Merge branch 'main' into dev 2023-02-23 10:18:58 +01:00
Jan Stabenow
31dce12b8e Mod updates build-files 2023-02-23 10:17:39 +01:00
Ingo Oppermann
5ad5edef73 Upgrade golang.org/x/net 2023-02-22 11:54:39 +01:00
Ingo Oppermann
1c04961fc1 Fix tests 2023-02-21 12:57:33 +01:00
Ingo Oppermann
d77e4d7160 Bump version to 16.12.0 2023-02-20 17:31:29 +01:00
Ingo Oppermann
05a176370a Fix missing filesystem metadata and middlewares 2023-02-14 16:16:35 +01:00
Ingo Oppermann
1d30d9eecd Fix use of deprecated function 2023-02-01 16:24:57 +01:00
Ingo Oppermann
2a3288ffd0 Use abstract filesystem for stores 2023-02-01 16:09:20 +01:00
Ingo Oppermann
49b16f44a8 Add templates for s3 filesystems 2023-01-31 15:54:40 +01:00
Ingo Oppermann
e3d25b1bdd Add check for duplicate filesystem names 2023-01-31 15:53:48 +01:00
Ingo Oppermann
f519acfd71 Add S3 storage support 2023-01-31 14:45:58 +01:00
Ingo Oppermann
c05e16b6a0 Add tests 2023-01-24 21:04:24 +01:00
Ingo Oppermann
8c0f2ebabc Add tests 2023-01-24 16:45:28 +01:00
Ingo Oppermann
a8e86a7111 Add tests 2023-01-24 16:08:11 +01:00
Ingo Oppermann
ad3538d224 Add tests 2023-01-24 13:40:36 +01:00
Ingo Oppermann
59b7978470 Add tests 2023-01-24 11:22:31 +01:00
Ingo Oppermann
b2cd8f7133 Allow probe with individual timeout 2023-01-23 17:09:55 +01:00
Ingo Oppermann
505fbff03f Add tests 2023-01-23 11:42:17 +01:00
Ingo Oppermann
0147651de6 Extend placeholders
1. Allow variables in placeholders for parameter values, e.g.
   {rtmp,name=$processid}. The variable starts with a $ letter.
   The recognized variables are provided with the Replace func.

2. The template func recieves the process config and the name of
   the section where this placeholder is located, i.e. "global",
   "input", or "output".
2023-01-20 13:38:33 +01:00
Ingo Oppermann
e374f83377 Fix config timestamps
created_at represents the time when the configuration has been persisted to disk.
loaded_at represents the time when the configuration has actually been used.

If created_at is larger than loaded_at, then the Core needs a reload in order
to apply the latest configuration.

if created_at is lower than laoded_at, then the Core applied the latest
configuration.

The value of updated_at is irrelevant and shouldn't be used.
2023-01-19 16:13:53 +01:00
Ingo Oppermann
311defb27c Fix /config/reload return type 2023-01-19 11:46:45 +01:00
Ingo Oppermann
f0ff3b89c1 Allow RTMP token as stream key in the path 2023-01-13 11:12:21 +01:00
Ingo Oppermann
ea79b87236 Add format annotation for integer types for swagger documentation 2023-01-11 21:05:40 +01:00
Ingo Oppermann
481cd79e6d Update swagger API documentation 2023-01-10 19:03:26 +01:00
Ingo Oppermann
1bbb7a9c1f Use config locations for import and ffmigrage 2023-01-03 11:45:10 +01:00
Ingo Oppermann
17c9f6ef13 Test different standard location for config file
If no path is given in the environment variable CORE_CONFIGFILE, different
standard locations will be probed:
- os.UserConfigDir() + /datarhei-core/config.js
- os.UserHomeDir() + /.config/datarhei-core/config.js
- ./config/config.js
If the config.js doesn't exist in any of these locations, it will be
assumed at ./config/config.js
2023-01-03 07:55:55 +01:00
Ingo Oppermann
ff6b0d9584 Require go1.19 for tests 2023-01-03 07:05:00 +01:00