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
3161e73a58
rename httpserv into httpp ( #3014 )
1 year ago
Alessandro Ros
0332ba59a0
api: add endpoints for recording management ( #2901 ) ( #2988 )
2 years ago
Alessandro Ros
320f5a7a21
api: improve performance by using RWMutex ( #2968 )
2 years ago
Alessandro Ros
57c2d5aecb
add playback server ( #2452 ) ( #2906 )
...
* add playback server
* add playback switch
* update readme
2 years ago
Alessandro Ros
7b9617f2e7
api: return 404 when an entity is not found ( #2582 ) ( #2920 )
2 years ago
Alessandro Ros
1341421412
move api, metrics and pprof into dedicated packages ( #2843 )
2 years ago
Alessandro Ros
11988249df
move servers into internal/servers ( #2792 )
2 years ago
Alessandro Ros
43d41c070b
move static sources into dedicated package ( #2616 )
2 years ago
Alessandro Ros
e9528c0917
api: return empty list when page is empty ( #2604 ) ( #2614 )
2 years ago
Alessandro Ros
bbb989ee87
api: return full configuration in config/paths/list and config/paths/get ( #2535 ) ( #2595 )
2 years ago
Alessandro Ros
cde19097bd
api: send error messages in response body ( #2518 ) ( #2583 )
2 years ago
Alessandro Ros
07ff79f553
api: return 500 instead of 404 in case of non-existing items ( #2582 )
...
This is needed to differentiate between calls to non-existent andpoints
and calls to valid endpoints, but with an ID pointing to a non-existing
item, and to return JSON in the latter case.
2 years ago
Alessandro Ros
99bc327d67
move protocol-related code into internal/protocols ( #2572 )
2 years ago
Alessandro Ros
9a01ab7fd5
allow changing default path settings; bump API in order to allow so ( #2455 )
2 years ago
Alessandro Ros
42aa979309
api: save errors in logs ( #2426 )
2 years ago
Alessandro Ros
61b77a3ff9
api: return 400 in case of non-existent config fields ( #2425 )
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
b4e3033ea3
support publishing, reading, proxying with SRT ( #2068 )
2 years ago
Alessandro Ros
119d6abf19
move HTTP utilities in a dedicated package ( #2123 )
...
needed by #2068
2 years ago
Alessandro Ros
f7a30e7b38
api: return 404 when a path configuration is not found ( #2067 ) ( #2074 )
...
this involves /v2/config/paths/edit and /v2/config/paths/remove
2 years ago
Alessandro Ros
3e8a1674ab
cleanup code ( #2044 )
2 years ago
Jordy84
1103e935c4
api: fix error in case of nested paths ( #2040 )
...
* Fixed API paths/get with nested paths
* Lint error
* Same fix for /v2/hlsmuxers/get
---------
Co-authored-by: Jordy Boezaard <jordy@boezaard.com>
2 years ago
Alessandro Ros
f1b975707a
api: return 404 in /get and /kick endpoints ( #1994 ) ( #1995 )
...
when an entity is not found
2 years ago
Alessandro Ros
e2a6c380b0
api: fix setting default parameters when creating a path ( #1853 ) ( #1905 )
...
this fixes a regression introduced in v0.23.0.
2 years ago
Alessandro Ros
e10055ad69
api: add item count to /list endpoints ( #1813 ) ( #1829 )
2 years ago
Alessandro Ros
67672ea9c6
api: fix wrong pageCount in /list endpoints ( #1813 ) ( #1824 )
2 years ago
Alessandro Ros
b93eed64bc
api: add /get endpoints ( #1577 ) ( #1823 )
...
this allows to get entities by ID or name after /list endpoints were
changed in v0.23.0.
2 years ago
Alessandro Ros
586df289e2
bump API prefix from /v1 to /v2 ( #1815 )
2 years ago
Alessandro Ros
adf94092a8
add base class to all HTTP servers ( #1809 )
2 years ago
Alessandro Ros
9c79197f36
api: add pagination to all /list endpoints ( #1808 )
2 years ago
Alessandro Ros
39c072edd6
change repository owner ( #1801 )
2 years ago
Alessandro Ros
a14246d776
webrtc: support publishing with WHIP and reading with WHEP ( #1800 )
2 years ago
Alessandro Ros
e998688757
allow setting rpiCameraSaturation to 0 ( #1651 ) ( #1772 )
2 years ago
Alessandro Ros
225220ddd5
print warning in case no key frames are being received ( #1763 )
2 years ago
Alessandro Ros
88953f36a6
add read deadline to all incoming HTTP requests ( #1689 )
2 years ago
Alessandro Ros
2a5e6e2651
metrics: log HTTP requests when logLevel is debug ( #1687 )
2 years ago
Alessandro Ros
34757620b8
do not listen on IPv6 when host is 0.0.0.0 ( #1665 ) ( #1678 )
2 years ago
Alessandro Ros
3ba133bc60
add remote port to HTTP requests in logs ( #1663 )
2 years ago
Alessandro Ros
053f2ec282
rename repository and executable ( #1641 )
2 years ago
Alessandro Ros
bca3013bd0
general: add Clone() method to Conf and PathConf ( #1633 )
...
this allows to detect errors during cloning
2 years ago
aler9
f3f55452e5
webrtc muxer: fix multiple race conditions
3 years ago
Alessandro Ros
5efe97abf1
Support reading with WebRTC ( #1242 )
3 years ago
Alessandro Ros
4ac175d3cc
api, metrics: add endpoints and metrics for RTSP connections ( #1233 )
...
new API endpoints:
* /v1/rtspconns/list
* /v1/rtspsconns/list
new metrics:
* rtsp_conns
* rtsps_conns
3 years ago
aler9
fdb1955e1d
api: autogenerate structs from configuration
3 years ago
aler9
a8d1f91646
fix tests that involve HTTP clients
3 years ago
aler9
f25e14183d
api, hls, metrics, pprof: always close HTTP listeners
...
due to a race condition, HTTP listeners could remain open even after
the closure of a component.
3 years ago
Alessandro Ros
820ba067f2
support RTMPS ( #1089 )
3 years ago
Alessandro Ros
8c2b12a314
Add native support for the raspberry pi camera ( #1057 )
3 years ago