Commit Graph

40 Commits

Author SHA1 Message Date
aler9
983469a1f9 rtmp: support clients that publish with empty metadata or no metadata (#386) (#769) 2022-02-12 17:48:55 +01:00
aler9
9c38b42b4c fix crash that happened when publishing audio with RTMP (#810) 2022-02-01 19:24:37 +01:00
aler9
2bfdcc7d89 update gortsplib 2022-01-30 17:43:03 +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
11760fd79f support external authentication (#504) (#517) 2021-12-22 19:13:56 +01:00
aler9
1dff3239d2 remove rtmp.Conn.NetConn() 2021-12-22 17:33:37 +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
f7419586af update gortsplib 2021-11-12 22:29:56 +01:00
aler9
c9c9c88ac8 update golangci-lint 2021-10-30 13:06:29 +02:00
aler9
ab70f946b0 unexport members of private structs 2021-10-27 21:01:00 +02:00
aler9
75d4f1437d add "error" log level 2021-10-27 19:54:36 +02:00
aler9
160966e81b print log messages when runOnConnect and runOnRead are started or stopped 2021-10-03 15:46:06 +02:00
aler9
c46ae16dc7 run runOnRead command also with RTMP readers 2021-09-30 13:12:20 +02:00
aler9
e62ed283d1 rtmp: do not raise an error in case of metadata packets (#577) 2021-09-30 11:57:03 +02:00
aler9
e78544f23e update gortsplib 2021-09-28 15:47:56 +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
3b0327233e move hls utils into gortsplib 2021-09-23 20:14:20 +02:00
aler9
02afa8ff99 rtmp, hls: remove initial difference of 2secs between PTS and DTS of H264 2021-09-07 10:04:58 +02:00
aler9
e189f4570c hls, rtmp: set DTS = PTS when a IDR frame is received 2021-09-06 19:04:39 +02:00
aler9
da44bbd18a api: normalize entity names 2021-08-20 10:13:41 +02:00
aler9
40a5c78c8d fix comment 2021-08-14 16:21:05 +02:00
aler9
0de711d7e0 hls, rtmp: print clearer error messages (#501)
in case a stream doesn't contain a H264 track
or a AAC track.
2021-08-13 14:16:36 +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
e57177ef49 cleanup 2021-08-11 13:57:33 +02:00
aler9
20ac25571c api: add "state" field to RTSP sessions and RTMP connections 2021-08-11 12:25:19 +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
ed375583d0 Implement an HTTP API to query and control the server 2021-08-07 19:20:39 +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
5ab989250d cleanup 2021-07-31 18:25:47 +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
c3c643c602 hls: move muxer into dedicated object 2021-07-24 18:31:54 +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