Jason Walton
1c2f95f609
webrtc: allow configuring timeouts ( #3404 ) ( #3406 )
...
* webrtc: allow configuring timeouts (#3404 )
* fix from code inspect
2024-05-30 13:36:58 +02:00
Bouke van der Bijl
6793a12aff
api: make replace paths idempotent ( #3362 )
...
Don't return a 404 error if the path doesn't exist yet
2024-05-19 14:40:50 +02:00
Alessandro Ros
f3ed659fab
rtsp: fix authentication when algorithm field is not supported ( #3116 ) ( #3314 )
2024-05-15 10:28:12 +02:00
xjr20042
6debb52abd
hls: make closeAfterInactivity configurable ( #3329 )
...
* HLS: make closeAfterInactivity configurable
* add `hlsMuxerCloseAfter` to `apidocs/openapi.yaml`
2024-05-09 10:08:15 +02:00
Alessandro Ros
575d3585fe
fix unexpected behavior of authInternalUsers or authHTTPExclude ( #3316 )
...
when some subfields of authInternalUsers or authHTTPExclude were not
set explicitly in the configuration file, default values were used in
their place. This is caused by a strange behavior of Go
(https://github.com/golang/go/issues/21092 )
2024-05-04 10:12:43 +02:00
Alessandro Ros
85dd81698b
support HTTPS, Allow-Origin and trusted proxies in API, playback server, metrics server and pprof server ( #2658 ) ( #2491 ) ( #3235 ) ( #3280 )
2024-04-21 17:10:35 +02:00
Alessandro Ros
9d82d4e783
api: fix crash when calling config/paths/patch on an empty path config ( #3265 )
2024-04-18 00:23:39 +02:00
lvyaoting
34b120fd33
fix typo in comment ( #3205 )
...
Signed-off-by: lvyaoting <lvyaoting@outlook.com>
2024-04-08 09:29:42 +02:00
Alessandro Ros
dd3b268346
do not switch to legacy authentication system when readUser, readPass, publishUser, publishPass are present but are empty ( #3113 )
2024-03-06 18:04:08 +01:00
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).
2024-03-04 14:20:34 +01:00
Alessandro Ros
b6db3121b5
rtsp: add random value to timestamp of tracks from other protocols ( #3071 )
2024-02-26 00:41:05 +01:00
Alessandro Ros
57c2d5aecb
add playback server ( #2452 ) ( #2906 )
...
* add playback server
* add playback switch
* update readme
2024-01-23 20:52:05 +01:00
Alessandro Ros
7b9617f2e7
api: return 404 when an entity is not found ( #2582 ) ( #2920 )
2024-01-18 23:28:56 +01:00
Alessandro Ros
3277765851
apidocs: add missing recording settings to PathConf ( #2705 )
2023-11-16 22:47:01 +01:00
Alessandro Ros
687d8685ef
webrtc: improve connectivity mechanism ( #2686 )
2023-11-12 23:55:28 +01:00
Alessandro Ros
6d27d690dc
update docs ( #2590 )
2023-10-28 11:52:31 +02:00
Alessandro Ros
95ab9375c7
support recording to MPEG-TS ( #2505 )
2023-10-14 22:52:10 +02:00
Alessandro Ros
6c727b4472
rename 'all' path configuration into 'all_others' ( #2443 )
2023-10-09 18:13:44 +02:00
Alessandro Ros
8a633d2b79
allow setting different recording parameters for each path ( #2410 ) ( #2457 )
2023-10-07 23:48:37 +02:00
Alessandro Ros
9a01ab7fd5
allow changing default path settings; bump API in order to allow so ( #2455 )
2023-10-07 23:32:15 +02:00
PieterFabry
3c4039b81f
Supports webrtc interface filtering on server ( #2460 )
...
* Supports webrtc interface filtering on server
* test(#2707 ): Fixed testing for build
* lint(#2707 ): Fixed lint issues for build
* normalize setting name
* move instructions in the configuration file
---------
Co-authored-by: Pieter Fabry <pieterfabry@observe.tech>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-10-07 17:51:01 +02:00
Alessandro Ros
61b77a3ff9
api: return 400 in case of non-existent config fields ( #2425 )
2023-09-27 14:56:31 +02:00
Alessandro Ros
b86dc979ca
fix default value of some settings ( #2367 )
...
rtmpServerKey, rtmpServerCert, recordPath, rpiCameraExposure,
rpiCameraAWB, rpiCameraDenoise, rpiCameraMetering, rpiCameraAfMode,
rpiCameraAfRange, rpiCameraAfSpeed were not set correctly when missing
in the configuration file.
2023-09-19 11:49:11 +02:00
Alessandro Ros
f2f417e451
search for configuration file in various paths, print paths if configuration is not found ( #1993 ) ( #2276 ) ( #2357 )
2023-09-16 22:14:13 +02:00
Alessandro Ros
ed77560811
add runOnDisconnect, runOnNotReady, runOnUnread ( #1464 ) ( #2355 )
2023-09-16 19:21:48 +02:00
Alessandro Ros
73ddb21e63
implement native recording ( #1399 ) ( #2255 )
...
* implement native recording (#1399 )
* support saving VP9 tracks
* support saving MPEG-1 audio tracks
* switch segment when codec parameters change
* allow to disable recording on a path basis
* allow disabling recording cleaner
* support recording MPEG-1/2/4 video tracks
* add microseconds to file names
* add tests
2023-09-16 17:27:07 +02:00
Alessandro Ros
5fb7f4e846
force all readers to use an asynchronous writer ( #2265 )
...
needed by #2255
2023-08-30 11:24:14 +02:00
Alessandro Ros
cf86dbb303
switch to gortsplib/v4 ( #2244 )
2023-08-26 18:54:28 +02:00
Alessandro Ros
bf8e69ea89
rename readBufferCount into writeQueueSize ( #2248 )
2023-08-26 13:25:21 +02:00
Alessandro Ros
659f19f8bb
enable errcheck ( #2201 )
2023-08-13 16:38:23 +02:00
Alessandro Ros
61d300396d
remove 'disable' from names of configuration parameters ( #2101 )
2023-08-06 21:40:08 +02:00
Alessandro Ros
b4e3033ea3
support publishing, reading, proxying with SRT ( #2068 )
2023-07-31 21:20:09 +02:00
Alessandro Ros
37586b2300
api: allow to edit properties of path config "all" ( #2067 ) ( #2075 )
2023-07-19 13:33:05 +02:00
Alessandro Ros
1a748bb971
webrtc: allow using special characters in ICE server credentials ( #1953 ) ( #2000 )
2023-06-30 16:47:10 +02:00
Alessandro Ros
083151360e
return an error in case configuration file can't be opened ( #1920 )
2023-06-06 21:17:40 +02:00
Alessandro Ros
39c072edd6
change repository owner ( #1801 )
2023-05-16 16:14:20 +02:00
Alessandro Ros
71310c5eb0
webrtc: validate ICE servers in configuration ( #1798 )
2023-05-15 10:51:00 +02:00
Alessandro Ros
d8678cef90
unify authentication mechanisms ( #1775 )
2023-05-08 17:04:14 +02:00
Alessandro Ros
e998688757
allow setting rpiCameraSaturation to 0 ( #1651 ) ( #1772 )
2023-05-06 23:00:42 +02:00
Alessandro Ros
225220ddd5
print warning in case no key frames are being received ( #1763 )
2023-05-04 20:16:41 +02:00
Alessandro Ros
d7eadeb523
fix corrupted packets when udpMaxPayloadSize is not set ( #1702 ) ( #1711 )
...
this happened when udpMaxPayloadSize was not explicitly set in
configuration file.
2023-04-15 13:45:20 +02:00
Alessandro Ros
053f2ec282
rename repository and executable ( #1641 )
2023-04-01 19:52:06 +02:00
Alessandro Ros
f5fd89d3b4
change name of configuration file ( #1640 )
2023-04-01 19:32:10 +02:00
Alessandro Ros
aae8eb943e
general: change prefix of environment variables ( #1639 )
2023-04-01 19:31:23 +02:00
Alessandro Ros
2dffccf9c1
update gortsplib, gohlslib ( #1637 )
2023-04-01 18:39:12 +02:00
Alessandro Ros
868704e9d4
hls muxer: make Low Latency-HLS the default variant ( #1610 )
2023-03-31 16:46:05 +02:00
Alessandro Ros
bca3013bd0
general: add Clone() method to Conf and PathConf ( #1633 )
...
this allows to detect errors during cloning
2023-03-31 16:22:08 +02:00
Alessandro Ros
5b61983fa6
add option to set max size of outgoing UDP packets ( #1588 ) ( #1601 )
2023-03-31 11:53:49 +02:00
Alessandro Ros
c1bcd0c7eb
hls muxer: add option to dump segments on disk ( #1322 ) ( #1567 )
2023-03-20 00:22:21 +01:00
irsl
4e579702ed
hls: make hlsEncryption optional even with Low-latency variant ( #1530 )
2023-03-09 18:08:01 +01:00