Commit Graph

361 Commits

Author SHA1 Message Date
aler9
82d8dfbc6d hls: correctly compute segment duration
Segment duration is now (current PTS - first PTS in segment)
Previously it was (last PTS in segment - first PTS in segment)
2021-11-30 21:30:32 +01:00
aler9
05b1a7e720 update gortsplib 2021-11-28 13:04:00 +01:00
aler9
3496282ba7 fix crash that happens when using an invalid log file (#706) 2021-11-26 14:46:16 +01:00
aler9
c7b2ae83df rtsp source: support cameras that don't provide SPS and PPS inside the SDP (#411) (#707) 2021-11-22 22:55:12 +01:00
aler9
29ee78ce38 expand rtsp source tests 2021-11-22 22:29:41 +01:00
aler9
76eb2c2c2b fix lint errors 2021-11-22 15:09:03 +01:00
aler9
f7ea9a6b2d rtsp server: check validity of announced tracks 2021-11-22 15:06:18 +01:00
aler9
e4a5732978 hls: cleanup 2021-11-19 23:39:23 +01:00
aler9
02291f552a align listener opened / closed messages 2021-11-15 20:13:54 +01:00
aler9
5ea4fdb764 run gofumpt 2021-11-15 20:09:07 +01:00
aler9
cbd341b864 change log level of path open / close message to Debug 2021-11-15 18:04:05 +01:00
aler9
b4155a4fdf rtsp: support reading with VLC and multicast 2021-11-15 17:58:14 +01:00
aler9
99db6f245e remove panic() 2021-11-13 10:26:14 +01:00
aler9
f7419586af update gortsplib 2021-11-12 22:29:56 +01:00
aler9
21e0052bc4 close all connections gracefully when shutting down the server (#682) 2021-11-10 19:04:07 +01:00
aler9
d5c55a8ddc move test into gortsplib 2021-11-06 13:38:51 +01:00
aler9
9645d18ae4 move httpLogWriter in a dedicated file 2021-11-06 12:53:49 +01:00
aler9
21a149c0de rename struct 2021-11-06 12:52:12 +01:00
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
322ea55534 split API definitions between their corresponding structs 2021-11-05 17:53:24 +01:00
aler9
afabd331d9 metrics: add hls_muxers metric 2021-11-05 17:29:13 +01:00
aler9
0c79efdab7 api: cleanup 2021-11-05 17:18:21 +01:00
aler9
79e73c5cb4 api: add /v1/hlsmuxers/list endpoint 2021-11-05 17:15:46 +01:00
aler9
fb311e31ec add missing check on strict encryption + UDP multicast 2021-11-05 17:11:40 +01:00
aler9
6564c3511b hls: change Muxer letter 2021-11-05 16:55:00 +01:00
aler9
e4ba689bfd rtsp: print opened listeners in a single line 2021-11-03 22:44:17 +01:00
aler9
f801a9fa39 log the exact reason why a path is closed 2021-11-03 22:41:23 +01:00
aler9
9ab95cc603 use opened / closed instead of created / destroyed in logs 2021-11-03 22:31:02 +01:00
aler9
a867c469fd fix automatic deletion of regexp paths (#664) (#680) 2021-11-03 22:28:50 +01:00
aler9
2e7c56a24f remove useless test 2021-11-03 21:46:06 +01:00
aler9
9245a79cf1 remove ffmpeg from tests 2021-11-03 21:42:29 +01:00
aler9
2d12c37074 use require.EqualError() in tests 2021-11-03 17:52:47 +01:00
aler9
aa01eaf12b cleanup 2021-11-03 16:37:08 +01:00
aler9
47a975de09 hls: fix race condition 2021-11-01 11:07:37 +01:00
aler9
eab2663420 move VLC authentication hack into gortsplib 2021-10-30 15:05:27 +02:00
aler9
09a7e11066 add more fatal errors 2021-10-30 13:56:59 +02:00
aler9
0c4cfd0e53 update gortsplib 2021-10-30 13:55:05 +02:00
aler9
c9c9c88ac8 update golangci-lint 2021-10-30 13:06:29 +02:00
Konstantin Salnikov
a83f57bc3e implement per-path metrics 2021-10-28 19:38:54 +02:00
aler9
161fa58bd6 hls: cleanup 2021-10-28 18:57:04 +02:00
aler9
af63360079 remove count of readers and publishers from log lines 2021-10-28 17:33:43 +02:00
aler9
9af006b488 allow to set logLevel: error in config 2021-10-28 17:29:27 +02:00
aler9
ab70f946b0 unexport members of private structs 2021-10-27 21:01:00 +02:00
aler9
07db2ce0ef print log levels with 3 characters 2021-10-27 20:00:05 +02:00
aler9
75d4f1437d add "error" log level 2021-10-27 19:54:36 +02:00
aler9
8875c8eaa6 rtsp: print exact reason when a session is destroyed (#649) 2021-10-27 19:49:43 +02:00
aler9
226e26e05f metrics: use gin router 2021-10-27 12:14:23 +02:00
aler9
2af39db5be hls: add https tests 2021-10-26 14:54:28 +02:00
aler9
9155bffefb allow disabling HTTPS validation by using sourceFingerprint (#665) 2021-10-25 21:14:13 +02:00
aler9
d30822cb1b make sourceFingerprint optional and allow standard certificate validation 2021-10-25 21:01:29 +02:00