Alessandro Ros
9c6ba7e2c7
New authentication system ( #1341 ) ( #1992 ) ( #2205 ) ( #3081 )
...
This is a new authentication system that covers all the features exposed by the server, including playback, API, metrics and PPROF, improves internal authentication by adding permissions, improves HTTP-based authentication by adding the ability to exclude certain actions from being authenticated, adds an additional method (JWT-based authentication).
1 year ago
Alessandro Ros
34dbcfb508
move WebRTC tests into internal/servers/webrtc ( #3043 )
1 year ago
Alessandro Ros
1ae3240b91
hls: fix crash when muxer is being recreated, improve performance ( #3017 )
1 year ago
Alessandro Ros
3161e73a58
rename httpserv into httpp ( #3014 )
1 year ago
Alessandro Ros
487f92ac55
hls: in logs, store both ip and port of incoming requests ( #3013 )
1 year ago
Alessandro Ros
57c2d5aecb
add playback server ( #2452 ) ( #2906 )
...
* add playback server
* add playback switch
* update readme
2 years ago
Alessandro Ros
dd7d7c6c5d
srt: wait some seconds before returning authentication errors ( #2918 )
...
this allows to mitigate brute force attacks and is possible thanks to
https://github.com/datarhei/gosrt/pull/43
2 years ago
Alessandro Ros
7437ee7a09
update golangci-lint ( #2868 )
2 years ago
Alessandro Ros
11988249df
move servers into internal/servers ( #2792 )
2 years ago
Alessandro Ros
aade2eedb9
hls, webrtc: prevent XSS attack when appending slash to paths ( #2766 ) ( #2767 ) ( #2772 )
2 years ago
Alessandro Ros
4ccb245feb
webrtc: fix propagating query parameters when appending slash to paths ( #2771 )
2 years ago
Alessandro Ros
a760a98bcc
webrtc: fix crash when reading from path 'publish' ( #2688 ) ( #2692 )
2 years ago
Alessandro Ros
faf7218fda
webrtc: restore compatibility when running behind a proxy, in a subpath ( #2638 )
2 years ago
Alessandro Ros
43d41c070b
move static sources into dedicated package ( #2616 )
2 years ago
Alessandro Ros
ecee2af05c
webrtc: fix crash in case of errors during PATCH ( #2609 ) ( #2613 )
2 years ago
Alessandro Ros
64eb90738a
webrtc: return detailed errors in responses ( #2594 )
2 years ago
Alessandro Ros
99bc327d67
move protocol-related code into internal/protocols ( #2572 )
2 years ago
Alessandro Ros
28452acf56
move webrtc utilities into internal/webrtc ( #2559 )
2 years ago
Rui Lopes
9f5169ba26
webrtc: support WHIP/WHEP DELETE method ( #2507 )
2 years ago
Alessandro Ros
3a5bb06e26
add environment variable MTX_QUERY to some hooks ( #2483 ) ( #2522 )
2 years ago
Aakash Singh
18733294c0
webrtc: expose ice servers on OPTIONS CORS requests ( #2479 )
...
the link header was getting ignored by browser fetch as it was not exposed by Access-Control-Expose-Headers
2 years ago
Rui Lopes
215f88e2dd
webrtc: add Location header to CORS-allowed headers ( #2453 )
2 years ago
Alessandro Ros
f1e28d053f
webrtc: fix ETag header name according to specification ( #2396 ) ( #2401 )
2 years ago
Alessandro Ros
1e15d4995c
embed hls.js into the server ( #2202 ) ( #2236 )
2 years ago
Alessandro Ros
659f19f8bb
enable errcheck ( #2201 )
2 years ago
Alessandro Ros
efcc4c4e65
fix crash in case of specially-crafted HTTP requests ( #2166 ) ( #2169 )
2 years ago
Alessandro Ros
bc3084ae7b
support proxying WebRTC streams ( #2142 )
2 years ago
Alessandro Ros
ef8b9fb63d
webrtc, hls: reply status code 204 to OPTIONS requests ( #2141 )
2 years ago
Alessandro Ros
72b1d233df
normalize channels and methods ( #2127 )
...
needed by #2068
2 years ago
Alessandro Ros
119d6abf19
move HTTP utilities in a dedicated package ( #2123 )
...
needed by #2068
2 years ago
Alessandro Ros
b42154fa6a
return an error in case the random number generator fails ( #2120 )
2 years ago
Alessandro Ros
1fa53b49d4
webrtc, hls: prevent brute-force attacks by waiting before sending responses ( #2100 )
2 years ago
Alessandro Ros
0137734294
webrtc, hls: show IP in logs in case of failed authentication ( #2099 )
2 years ago
Alessandro Ros
36298f8bc8
webrtc: send session ID to external auth server ( #1981 ) ( #2098 )
2 years ago
Alessandro Ros
3bb12e2a0a
webrtc: show both IP and port during session creation and in API ( #2096 )
2 years ago
Alessandro Ros
37586b2300
api: allow to edit properties of path config "all" ( #2067 ) ( #2075 )
2 years ago
Alessandro Ros
473c075d89
webrtc: fix memory leak during shutdown or session kick ( #2079 )
2 years ago
Alessandro Ros
64a715a663
hls, webrtc: add Authorization to Access-Control-Allow-Headers ( #2018 ) ( #2020 )
2 years ago
Alessandro Ros
1a748bb971
webrtc: allow using special characters in ICE server credentials ( #1953 ) ( #2000 )
2 years ago
Alessandro Ros
20a3b07d0a
webrtc: move codec and bitrate settings on client side ( #1990 )
2 years ago
Alessandro Ros
79ee4e06f3
webrtc: add option to disable audio effects ( #1908 ) ( #1989 )
2 years ago
Alessandro Ros
4aef466103
webrtc: allow setting Opus bitrate ( #1908 ) ( #1985 )
2 years ago
Alessandro Ros
2faca73749
hls, webrtc: in the web page, pass query parameters to inner requests ( #1976 )
2 years ago
Alessandro Ros
5224531551
webrtc: do not pass preflight requests to external auth ( #1941 ) ( #1972 )
2 years ago
Alessandro Ros
ba6c0fa822
set Access-Control-Allow-Headers to a static string ( #1973 )
2 years ago
Alessandro Ros
daa6500082
webrtc: make preflight OPTIONS requests work with external auth ( #1941 ) ( #1964 )
...
* webrtc: allow preflight OPTIONS requests to work with external auth (#1941 )
* add tests
* improve tests
2 years ago
Victor
052da51af3
Add WebRTC stream id to whep response headers ( #1879 )
...
* Add WebRTC stream id to whep response headers
* change header name from UUID to ID
* add tests
---------
Co-authored-by: Victor Vitkovskiy <victor.vitkovskiy@mirasys.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2 years ago
Alessandro Ros
99aa0d0ac9
webrtc: fix WHIP/WHEP implementation ( #1857 ) ( #1861 )
...
offers and answers are now encoded in SDP in place of JSON; Location
header is set by the server.
This fixes compatibility with GStreamer and whipsink
2 years ago
Alessandro Ros
1889641c8c
webrtc: add POST and PATCH methods to Access-Control-Allow-Methods ( #1848 )
2 years ago
Alessandro Ros
766260f8dd
fix usage of Access-Control-Expose-Headers ( #1847 )
2 years ago