Commit Graph

36 Commits

Author SHA1 Message Date
Alessandro Ros 2dffccf9c1
update gortsplib, gohlslib (#1637) 2023-04-01 18:39:12 +02:00
Alessandro Ros b02d3b83c7
Send additional fields to the external authentication URL (#1408)
* send 'protocol' to the external authentication URL

* send session ID to the external authentication URL
2023-01-22 19:48:33 +01:00
aler9 79562b15ab update gortsplib 2023-01-11 01:11:05 +01:00
Alessandro Ros c778c049ce
switch to gortsplib v2 (#1301)
Fixes #1103

gortsplib/v2 supports multiple formats inside a single track (media). This allows to apply the resizing algorithm to single formats inside medias.

For instance, if a media contains a a proprietary format and an H264 format, and the latter has oversized packets, they can now be resized.
2022-12-13 20:54:17 +01:00
Alessandro Ros 423bb61daa
use UUIDs as IDs in all entities (#1234) 2022-11-09 19:31:52 +01:00
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
2022-11-09 18:31:31 +01:00
aler9 86c5fa9ba4 cleanup interaction with external auth 2022-08-22 11:24:21 +02:00
aler9 055e08ac6c remove "on" prefix from most communication functions between components 2022-08-04 21:07:45 +02:00
aler9 08ddc9f83d update gortsplib 2022-06-27 17:52:20 +02:00
aler9 e45820b2c0 hls server: show real client IPs when behind a proxy (#955) 2022-06-21 13:54:19 +02:00
aler9 0605a2f369 update linter 2022-04-07 13:05:07 +02:00
aler9 87f24f1704 update gortsplib 2022-02-19 23:06:24 +01:00
ShiBen e3f63a43c9 External authentication support send url raw query
Do some dynamic authentication, such as token
2022-01-23 23:04:36 +01:00
aler9 8ac665be87 un-capitalize private fields 2022-01-14 23:42:41 +01:00
aler9 ed635db87e print debug log message in case of non-critical authentication errors 2021-12-22 20:13:00 +01:00
aler9 11760fd79f support external authentication (#504) (#517) 2021-12-22 19:13:56 +01:00
aler9 1617d07ba3 do not wait for external commands to exit during runtime
wait for them during shutdown.
2021-12-21 12:43:45 +01:00
aler9 84735426eb print a message when a custom command exits suddently 2021-12-08 21:23:45 +01:00
aler9 ebc201bda2 make regexp groups available to custom commands (#642) 2021-12-08 20:50:09 +01:00
aler9 eab2663420 move VLC authentication hack into gortsplib 2021-10-30 15:05:27 +02:00
aler9 ab70f946b0 unexport members of private structs 2021-10-27 21:01:00 +02:00
aler9 8875c8eaa6 rtsp: print exact reason when a session is destroyed (#649) 2021-10-27 19:49:43 +02:00
aler9 160966e81b print log messages when runOnConnect and runOnRead are started or stopped 2021-10-03 15:46:06 +02:00
aler9 ab71f22560 move decoding of more configuration into JSON decoding 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 9398cea0c2 update golangci-lint 2021-09-09 23:05:54 +02:00
aler9 f1a812ba5d rewrite metrics system to provide more data (#492) 2021-08-12 11:49:21 +02:00
aler9 6702cb41ed api: make sure that entities are deleted immediately after a kick request 2021-08-12 10:50:29 +02:00
aler9 6163095a11 fix crash that happens when sourceOnDemand is true and a source times out 2021-08-10 18:36:34 +02:00
aler9 f0a283d141 reload only rtsp server when authMethods is changed 2021-08-01 16:56:53 +02:00
aler9 eee64a1450 split readPublisher into reader and publisher 2021-07-31 20:46:06 +02:00
aler9 de6e9589b8 fix multiple freezes during shutdown of components 2021-07-30 20:13:17 +02:00
aler9 82e65230fd speed up hls remuxing by linking together pathManager and hlsServer 2021-07-30 14:49:09 +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
aler9 89d6d0f99e unexport method 2021-07-29 15:11:02 +02:00
aler9 9062dbf883 move most components into internal/core
in this way coverage can be computed correctly.
2021-07-24 16:09:52 +02:00