11 Commits

Author SHA1 Message Date
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
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
814e205ab5
Fix tests such that ffmpeg binary is not required 2022-06-24 19:47:12 +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 2022-06-03 17:21:52 +02:00
Jan Stabenow
9c0b535199
Add v16.7.2 2022-05-13 19:26:45 +02:00