Commit graph

81 commits

Author SHA1 Message Date
aler9
08fa61e56d do not add an 'all' path automatically if not present in the configuration file 2021-11-06 12:51:38 +01:00
aler9
fb311e31ec add missing check on strict encryption + UDP multicast 2021-11-05 17:11:40 +01:00
aler9
2d12c37074 use require.EqualError() in tests 2021-11-03 17:52:47 +01:00
aler9
c9c9c88ac8 update golangci-lint 2021-10-30 13:06:29 +02:00
aler9
9af006b488 allow to set logLevel: error in config 2021-10-28 17:29:27 +02:00
aler9
d30822cb1b make sourceFingerprint optional and allow standard certificate validation 2021-10-25 21:01:29 +02:00
aler9
509bed355a update gortsplib 2021-10-22 18:41:10 +02:00
aler9
37f63434ac sort arrays in configuration and API (#644) 2021-10-17 15:40:17 +02:00
aler9
94e519f08f conf: use dedicated interface to unmarshal from environment 2021-10-11 12:13:57 +02:00
aler9
b21efeb28f restore logLevel: debug 2021-10-05 20:36:15 +02:00
aler9
0d4d81c333 remove useless code 2021-10-05 09:41:37 +02:00
aler9
b70a4bfe5b fix regression that prevented setting config slices with env variables (#612) 2021-10-04 08:58:23 +02:00
aler9
ab71f22560 move decoding of more configuration into JSON decoding 2021-09-27 16:40:49 +02:00
aler9
1f540a2aaf return error in case of non-existent parameters in the configuration file 2021-09-27 16:40:49 +02:00
aler9
b748e6d0ff update error messages 2021-09-27 16:40:49 +02:00
aler9
6921a402d1 decode the configuration when decoding JSON 2021-09-27 16:40:49 +02:00
aler9
54292d712e convert the configuration into JSON before loading it 2021-09-27 16:40:49 +02:00
aler9
ca9645c2f9 api: decode durations from strings instead of numbers
This allows to use human-readable durations with the API,
for instance: "5s" instead of 5000000000
2021-09-26 23:21:37 +02:00
aler9
64808863ed move confenv into conf 2021-09-26 22:25:39 +02:00
aler9
9398cea0c2 update golangci-lint 2021-09-09 23:05:54 +02:00
aler9
df4c268813 support proxying HLS 2021-09-05 18:00:29 +02:00
aler9
eb5bab7e58 hls: set default segment count to 3 2021-08-14 12:27:00 +02:00
aler9
478102adc5 change default listen IP of metrics and pprof to 127.0.0.1 2021-08-07 19:20:39 +02:00
aler9
dd33ef740e api: change default listen address to 127.0.0.1:9997 2021-08-07 19:20:39 +02:00
aler9
fdd487f3c5 rename "record" source value into "publisher" 2021-08-07 19:20:39 +02:00
aler9
ed375583d0 Implement an HTTP API to query and control the server 2021-08-07 19:20:39 +02:00
aler9
e516d265d6 refactor ondemand system 2021-08-03 22:40:47 +02:00
aler9
9819ae43e8 cleanup 2021-07-31 17:45:15 +02:00
aler9
00dd622180 rename readIps and PublishIps into readIPs and publishIPs 2021-07-31 17:44:40 +02:00
aler9
1146d5cf1b hls: new option hlsAlwaysRemux to always remux streams into HLS, not only when requested 2021-07-29 16:56:40 +02:00
mattlamb99
0a2764ed05 Minor spelling fix
alfa -> alpha.
2021-07-25 10:36:04 +02:00
frjol
bee089aced Allow dot and tilde as part of the RTSP URL 2021-07-24 12:12:50 +02:00
aler9
0a1b8eee25 cleanup 2021-07-04 18:16:17 +02:00
aler9
7b1466146b HLS: add Access-Control-Allow-Origin to every HTTP response; add parameter hlsAllowOrigin (#415) 2021-06-23 19:28:27 +02:00
aler9
fbe3d9c67e RTSP server: use one IP for each multicast stream; add multicast parameter to the configuration file 2021-06-19 21:29:56 +02:00
aler9
e64edcfda9 RTSP source: support proxing with UDP-multicast 2021-06-19 16:16:47 +02:00
aler9
75e1e3e4dc RTSP server: support reading with multicast (#214) (#324) 2021-06-19 16:16:35 +02:00
aler9
d21841c1b7 RTSP source: add option sourceAnyPortEnable to support cameras that don't provide server ports (#407) 2021-06-03 23:51:37 +02:00
aler9
2bffbe4a09 RTSP: support sources with empty passwords (#395) 2021-05-29 18:29:32 +02:00
aler9
a2dcb61978 write URL in uppercase 2021-05-09 18:25:29 +02:00
aler9
cd9792fec0 conf: rewrite tests 2021-05-09 17:51:38 +02:00
aler9
4844f169f4 conf: fix default pprof address 2021-05-09 17:27:52 +02:00
aler9
c986cb254b implement RTSP sessions (#149) 2021-05-07 23:07:31 +02:00
aler9
a1a56ff203 allow to set a different listen IP for each listener (#343) 2021-04-24 18:52:13 +02:00
aler9
dee045f961 implement reading with HLS 2021-04-18 23:02:19 +02:00
aler9
3d1b5296d7 RTSP source: add mandatory parameter sourceFingerprint to validate server certificates and prevent man-in-the-middle attacks (#350) 2021-04-16 22:46:22 +02:00
aler9
c40fdbae7c pprof: change capitalization 2021-03-27 12:23:19 +01:00
aler9
a57f3d04a7 add parameter pprofPort to configure the port of the pprof listener 2021-03-27 12:19:00 +01:00
aler9
0048a01584 add parameter disablePublisherOverride to disable publisher override (#230) 2021-03-22 22:15:22 +01:00
aler9
c979217e0d update golangci-lint 2021-03-20 14:14:41 +01:00