Commit Graph

47 Commits

Author SHA1 Message Date
Jan Stabenow
266a62bee8 Fix docker build 2022-07-21 20:20:25 +02:00
Ingo Oppermann
c3d8c40162 Fix default config version number 2022-07-20 12:41:13 +02:00
Ingo Oppermann
00c382262e Add config migration from version 1 to version 2 2022-07-20 12:27:55 +02:00
Ingo Oppermann
24f89aeb1b Unify FFmpeg prelude parser, add pid awareness
The progress and probe parser had both their own prelude parsing implementation
in case the json variant is not available. Now there's a new package for this
implementation that both use.

If a program has an ID (in case of srt+mpegts) then this was no recognized by the
parser and these inputs/outputs were not detected.
2022-07-19 12:25:00 +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
669effd680 Update srt dependency 2022-07-08 20:06:28 +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
9400460704 Update dependencies 2022-07-08 19:49:24 +02:00
Ingo Oppermann
4a1131b7c8 Fix segfault on stopping an invalid process 2022-07-08 19:48:09 +02:00
Ingo Oppermann
76abe2c19d Always register rtmp and srt replacer templates 2022-07-08 10:46:05 +02:00
Ingo Oppermann
fe420ebe28 Return empty state and report if process is invalid 2022-07-08 10:07:56 +02:00
Jan Stabenow
612b60256a Mod enables arm64,linux/arm/v7 for core:dev 2022-07-07 19:10:17 +02:00
Ingo Oppermann
da2aef7015 Fix RTMP logging 2022-07-07 18:57:13 +02:00
Ingo Oppermann
337e0040c2 Fix input and output validation with tee outputs 2022-07-07 15:45:24 +02:00
Ingo Oppermann
2ecea4b3e2 Bump version to 16.9.0 2022-07-07 13:49:37 +02:00
Ingo Oppermann
971b8337fe Add new placeholders and parameters for placeholder 2022-07-06 19:51:47 +02:00
Jan Stabenow
5bed312e0b Fix tee_muxer input 2022-07-06 10:18:09 +02:00
Ingo Oppermann
fa3f8b9b57 Allow RTMP server if RTMPS server is enabled 2022-07-05 20:30:40 +02:00
Ingo Oppermann
4420d04a3b Add config option for RTMPS listen address 2022-07-05 18:52:54 +02:00
Ingo Oppermann
35a1833aa6 Add a SRT URL example 2022-07-05 15:08:51 +02:00
Ingo Oppermann
ae8f5f00a6 Fix backslash escaping in placeholder value escaping 2022-07-05 10:45:57 +02:00
Ingo Oppermann
5900b725e6 Fix linter warning 2022-07-04 20:23:36 +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
2058554524 Allow to configure SRT logging 2022-07-01 18:39:39 +02:00
Ingo Oppermann
e5b61a2f46 Merge branch 'dev' into srt 2022-07-01 18:22:05 +02:00
Ingo Oppermann
8daa035369 Add API wrapper for SRT log data 2022-07-01 16:39:16 +02:00
Ingo Oppermann
df67f2e177 Merge branch 'dev' into srt 2022-07-01 16:38:08 +02:00
Ingo Oppermann
dfcecf737a Fix validating a tee muxer address with only one output 2022-07-01 16:35:47 +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
Jan Stabenow
38973ce670 Mod merges workflows 2022-07-01 12:58:24 +02:00
Ingo Oppermann
1931782638 Fix output address validation for tee outputs 2022-06-30 21:07:53 +02:00
Ingo Oppermann
1cf1b7772f Add UpdateProcess function
If PUT /process/:id is called in order to replace an existing
process config with an invalid process config, the existing
process was deleted and an 409 was returned. A subsequent GET on
the previous process would then return a 404, which is not
what you expect. The previous process needs to stay in place.
2022-06-30 19:54:25 +02:00
Ingo Oppermann
a211de9850 Remove print in tests 2022-06-24 19:49:53 +02:00
Ingo Oppermann
814e205ab5 Fix tests such that ffmpeg binary is not required 2022-06-24 19:47:12 +02:00
Ingo Oppermann
25efb3152b Fix exiting loop 2022-06-24 19:46:28 +02:00
Ingo Oppermann
899a863131 Add -race option to tests 2022-06-24 11:38:52 +02:00
Jan Stabenow
eb1cc37456 Add GoSRT & improvements (repo-merge)
Commits (Ingo Oppermann):
- Add experimental SRT connection stats and logs
- Hide /config/reload endpoint in reade-only mode
- Add SRT server
- Create v16 in go.mod
- Fix data races, tests, lint, and update dependencies
- Add trailing slash for routed directories (datarhei/restreamer#340)
- Allow relative URLs in content in static routes

Co-Authored-By: Ingo Oppermann <57445+ioppermann@users.noreply.github.com>
2022-06-23 22:13:58 +02:00
Ingo Oppermann
d7db9e4efe Add trailing slash for routed directories (datarhei/restreamer#340)
In order for the UI to work properly with a relative %PUBLIC_URL% the
route for the UI requires a / at the end. This commit is enforcing
this. As a consequence, if the UI is behind a reverse proxy, it will
still load properly.
2022-06-07 15:47:21 +02:00
Jan Stabenow
9746248c10 Add v16.8.0 v16.8.0 2022-06-03 17:21:52 +02:00
Jan Stabenow
c8bebd95ef Create codeql-analysis.yml 2022-06-02 17:08:58 +02:00
Sven Erbeck
8709bb7ecd Create SECURITY.md
add templage - need to update
2022-06-01 22:48:21 +02:00
Sven Erbeck
dba1162671 Create CODE_OF_CONDUCT.md
Always stay relaxed files are good
2022-05-25 22:24:36 +02:00
Sven Erbeck
22ec42a1c7 Create FUNDING.yml
Added Patreon and home of datarhei
2022-05-13 19:48:01 +02:00
Jan Stabenow
9c0b535199 Add v16.7.2 v16.7.2 2022-05-13 19:26:45 +02:00
Jan Stabenow
8e70517dff Initial commit 2022-05-13 19:22:02 +02:00