37 Commits

Author SHA1 Message Date
Ingo Oppermann
432417ea32
Require go1.25, fix linter warnings 2026-02-12 17:04:05 +01:00
Ingo Oppermann
e077cd48a6
Integrate media events into cluster 2025-10-06 17:36:23 +02:00
Ingo Oppermann
7cf072b3ca
Fix variable shadowning, prepend / to resource 2025-04-16 10:42:50 +02:00
Ingo Oppermann
480dbb7f53
Refactor cluster node code 2024-07-09 12:26:02 +02:00
Ingo Oppermann
2514feec23
Allow SRT v4 handshake clients 2024-02-12 14:42:49 +01:00
Ingo Oppermann
4410804a3b
URL decode streamid if encoded 2024-02-12 14:34:25 +01:00
Ingo Oppermann
ab66c37ded
Fix emitting log message if a non-existing resource should be played 2024-02-12 14:33:14 +01:00
Ingo Oppermann
cf5192977b
Fix extracting domain from path 2024-02-12 10:52:03 +01:00
Ingo Oppermann
d2016fff70
Add extra session info for SRT 2023-09-21 16:06:27 +02:00
Ingo Oppermann
c7979efb07
Cancel SRT/RTMP session immediately on disconnect 2023-09-21 15:09:19 +02:00
Ingo Oppermann
ad2a50df6f
Separate resource type and resource for IAM policies 2023-09-18 17:11:09 +02:00
Ingo Oppermann
ba9227dc96
Cleanup of cluster proxy and proxy node 2023-07-07 22:51:53 +02:00
Ingo Oppermann
abfe4918b4
Loosen restrictions for IAM user names
The only restriction for an IAM username is that it cannot start with
a '$'. An username that contains a ':' must escape it with another ':'
for use in a token for RTMP or SRT.
2023-06-26 13:49:53 +02:00
Ingo Oppermann
98e4dec13a
Upgrade dependencies 2023-06-19 13:02:22 +02:00
Ingo Oppermann
0a5661f7ab
Update dependencies 2023-06-16 13:30:56 +02:00
Ingo Oppermann
7fc547c304
Fix assembling SRT streamid, log output 2023-06-15 14:22:07 +02:00
Ingo Oppermann
f21ca2055e
Use IAM for placeholders, simplify proxy nodes 2023-05-31 21:49:25 +02:00
Ingo Oppermann
e9034aa171
Create identity and access packages for IAM 2023-05-25 16:16:29 +02:00
Ingo Oppermann
710d5c595f
Merge branch 'iam' into clusteriam 2023-05-25 11:05:26 +02:00
Ingo Oppermann
d214607ff8
Move code into packages 2023-05-10 20:41:04 +02:00
Ingo Oppermann
7f59c188cf
Remove node storage, use raft configuration instead; re-establish file and stream proxying 2023-05-04 19:49:53 +02:00
Ingo Oppermann
ffdf6d3323
Merge branch 'dev' into cluster 2023-04-12 15:27:38 +02:00
Ingo Oppermann
6e93c1d5a1
Get rid of $localhost pseudo user 2023-03-09 21:10:04 +01:00
Ingo Oppermann
8755117e92
Add /api/v3/iam/user endpoints 2023-03-07 16:31:58 +01:00
Ingo Oppermann
1e74f11f5e
WIP: policy update 2023-02-16 21:47:56 +01:00
Ingo Oppermann
acc4d7ec5a
WIP: verify policies for processes, rtmp, and srt. rewriter for local urls 2023-02-15 21:43:37 +01:00
Ingo Oppermann
a186307746
Add policy enforcer for SRT connections 2023-02-13 09:51:26 +01:00
Ingo Oppermann
8f1ff2d1a2
WIP: designing interfaces, detecting identity, enforcing policies 2023-02-03 17:43:06 +01:00
Ingo Oppermann
8b307e4181
Use the SRT default config 2022-11-04 11:56:51 +01:00
Ingo Oppermann
4cc82dd333
Update dependencies 2022-10-28 17:24:57 +02:00
Ingo Oppermann
35c5c9f077
Add alternative streamid format for SRT
The streamid format that starts with #!: is recommended in the SRT
specs but it usually causes trouble where you're limited in the
use of such characters. Some hardware devices will not accept such
streamids.

The alternative format is simpler and has the form
[resource](,token:[token])?(,mode:[mode])?

token and mode are optional. mode can have the values "publish" or
"request". If mode is not provided, a value of "request" is
assumed.
2022-10-25 14:00:27 +02:00
Ingo Oppermann
2b05d5fb31
Register proxied srt as normal publisher 2022-08-15 11:13:42 +03:00
Ingo Oppermann
b51a38c99e
Create publisher for remote srt stream 2022-08-12 18:42:53 +03:00
Ingo Oppermann
c04ab1e82f
Add SRT proxying 2022-08-08 16:53:37 +02:00
Ingo Oppermann
da039f4751
Add proper API of SRT log data 2022-07-01 15:31:07 +02:00
Ingo Oppermann
25efb3152b
Fix exiting loop 2022-06-24 19:46:28 +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