56 Commits

Author SHA1 Message Date
Ingo Oppermann
28d9ae78c7 Cosmetics 2024-04-05 16:01:30 +02:00
Ingo Oppermann
8370b5da8d Create empty session registry if none is provided 2024-04-05 16:01:19 +02:00
Ingo Oppermann
793414b4e3 Skip handling if session collectors are nil 2024-04-05 15:59:47 +02:00
Ingo Oppermann
d8e81e4f2d Fix missing process data if process has been deleted meanwhile 2024-02-08 12:16:55 +01:00
Ingo Oppermann
f6d5064211 Update dependencies 2023-09-04 16:36:53 +02:00
Ingo Oppermann
496722c88a Fix 509 return code if non-existing stream is requested 2023-05-26 21:24:42 +02:00
Ingo Oppermann
ec7d47734b Remove double import 2023-05-08 11:47:40 +02:00
Ingo Oppermann
ca261a56ee Add looping_runtime to avstream status 2023-05-05 12:03:48 +02:00
Ingo Oppermann
74110dae54 Fix possible infinite loop with HLS session rewriter 2023-04-28 17:38:36 +02:00
Ingo Oppermann
317d6eb4d9 Add updated_at field in process infos 2023-04-24 12:05:01 +02:00
Ingo Oppermann
d807becc8a Add support for input framerate data from jsonstats patch 2023-04-13 15:22:33 +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
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
562b7aed92 Use better naming for storage endpoint documentation 2023-03-17 13:55:19 +01:00
Ingo Oppermann
1c04961fc1 Fix tests 2023-02-21 12:57:33 +01:00
Ingo Oppermann
05a176370a Fix missing filesystem metadata and middlewares 2023-02-14 16:16:35 +01:00
Ingo Oppermann
2a3288ffd0 Use abstract filesystem for stores 2023-02-01 16:09:20 +01:00
Ingo Oppermann
f519acfd71 Add S3 storage support 2023-01-31 14:45:58 +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
ea79b87236 Add format annotation for integer types for swagger documentation 2023-01-11 21:05:40 +01:00
Ingo Oppermann
59aa6af767 Allow partial process config updates 2023-01-02 07:20:39 +01:00
Ingo Oppermann
c44fb30a84 Fix check for at least one process input and output 2023-01-02 06:57:02 +01:00
Ingo Oppermann
4cc82dd333 Update dependencies 2022-10-28 17:24:57 +02:00
Ingo Oppermann
4334105f95 Fix wrong status code (#6) 2022-10-28 11:10:16 +02:00
Ingo Oppermann
07e2898857 Expose more SRT connection statistics 2022-10-24 15:25:14 +02:00
Ingo Oppermann
f746e581ae Add version annotation to API methods 2022-10-13 20:54:52 +02:00
Ingo Oppermann
6ef334331b Fix accumulating total sessions 2022-10-10 18:40:45 +02:00
Ingo Oppermann
8314f71402 Fix widget session data 2022-10-10 16:55:43 +02:00
Ingo Oppermann
4d4e70571e Fix proper version handling for uploading a new config 2022-10-10 16:19:45 +02:00
Ingo Oppermann
6288b620df Use pool for buffer 2022-09-28 14:53:58 +02:00
Ingo Oppermann
1ebf1f7f29 Write header only if a valid return code is available 2022-09-15 13:43:48 +02:00
Ingo Oppermann
3b0a19e18a Allow to only compress responses that have a minimum length 2022-09-08 19:16:44 +02:00
Ingo Oppermann
f1d71c202b Fix HLS streaming and cleanup on diskfs 2022-09-08 15:00:09 +02:00
Ingo Oppermann
285ef79716 Add /v3/metrics (get) endpoint to list all known metrics 2022-09-08 13:50:53 +02:00
Ingo Oppermann
2d754b4212 Log HTTP request and response body sizes 2022-09-07 13:53:26 +02:00
Ingo Oppermann
6ee565b3c9 Fix correct output of purge_on_delete value 2022-08-26 07:56:29 +03:00
Ingo Oppermann
f60d09963c Add RegistryReader interface for read-only registry 2022-08-19 11:46:30 +03:00
Ingo Oppermann
6802830c62 Don't use deprecated functions from io/ioutil 2022-08-18 10:27:33 +03:00
Ingo Oppermann
5bd04817cc Fix wrong path for swagger definition 2022-08-18 10:13:00 +03:00
Ingo Oppermann
3e7b1751d5 Add process id and reference glob pattern matching
For the API endpoint /v3/process two new query parameter are introduced
in order to list only processes that match a pattern for the id and the
reference: idpattern and refpattern. The pattern is a glob pattern. If
patterns for both are given, the results will be intersected. If you use
other query parameters such as id or reference, they will be applied
after the result of the pattern matching.
2022-08-17 07:55:44 +03:00
Ingo Oppermann
273ca0abbc Add cache block list for extensions not to cache 2022-08-02 19:10:28 +02:00
Ingo Oppermann
6af226aea7 Fix swagger endpoint IDs 2022-07-29 11:24:22 +02:00
Ingo Oppermann
77084edea4 Fix not adding size of the m3u8 to the ingress if session is known 2022-07-13 18:39:19 +02:00
Ingo Oppermann
b7680978f8 Log stacktrace in case of a panic during API requests 2022-07-08 20:03:16 +02:00
Ingo Oppermann
a2898061b0 Add optional escape character to process placeholder
If a value for a placeholder needs escaping, add the character to
escape with an "^" to the name of the placeholder, e.g. {memfs^:}.
This will escape all occurences of ":" in the value for {memfs}
with a "\".
2022-07-04 20:20:15 +02:00
Ingo Oppermann
85817e22c7 Merge branch 'dev' into srt 2022-07-01 16:27:17 +02:00
Ingo Oppermann
07e72cb25c Fix wrong return status for process update 2022-07-01 16:25:52 +02:00
Ingo Oppermann
da039f4751 Add proper API of SRT log data 2022-07-01 15:31:07 +02:00