Alessandro Ros
44fda6650f
rtsp server: make runOnConnect work again ( #1409 )
2023-01-22 21:30:03 +01:00
Alessandro Ros
5efe97abf1
Support reading with WebRTC ( #1242 )
2022-12-16 00:50:47 +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
8bee4af86a
api, metrics: add number of bytes received and sent from/to all entities ( #1235 )
...
* API: number of bytes received/sent from/to RTSP connections
* API: number of bytes received/sent from/to RTSP sessions
* API: number of bytes received/sent from/to RTMP connections
* API: number of bytes sent to HLS connections
* API: number of bytes received from paths
* metrics of all the above
2022-11-11 11:59:52 +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
7eb7883270
improve performance
2022-11-03 15:27:21 +01:00
aler9
f7fdd60966
rtsp server: log decode errors
2022-10-31 19:16:13 +01:00
Alessandro Ros
820ba067f2
support RTMPS ( #1089 )
2022-08-16 18:44:31 +02:00
aler9
092a2be3a8
api: add "created" field to RTSP sessions, RTMP connections, HLS muxers
2022-08-05 14:39:07 +02:00
aler9
055e08ac6c
remove "on" prefix from most communication functions between components
2022-08-04 21:07:45 +02:00
Alessandro Ros
9e6abc6e9f
rtmp: rewrite implementation of rtmp connection ( #1047 )
...
* rtmp: improve MsgCommandAMF0
* rtmp: fix MsgSetPeerBandwidth
* rtmp: add message tests
* rtmp: replace implementation with new one
* rtmp: rename handshake functions
* rtmp: avoid calling useless function
* rtmp: use time.Duration for PTSDelta
* rtmp: fix decoding chunks with relevant size
* rtmp: rewrite implementation of rtmp connection
* rtmp: fix tests
* rtmp: improve error message
* rtmp: replace h264 config implementation
* link against github.com/notedit/rtmp
* normalize MessageStreamID
* rtmp: make acknowledge optional
* rtmp: fix decoding of chunk2 + chunk3
* avoid using encoding/binary
2022-07-17 15:17:18 +02:00
aler9
98c6cd4650
RTSP: automatically remux oversized RTP/H264 packets; drop parameter ReadBufferSize
2022-04-09 20:20:14 +02:00
aler9
0605a2f369
update linter
2022-04-07 13:05:07 +02:00
aler9
f53b316c0d
rtsp server: generate RTCP sender reports automatically; stop routing RTCP packets
2022-03-24 15:44:34 +01:00
aler9
16df033d21
update gortsplib
2022-02-19 16:08:10 +01:00
aler9
43471a05ab
update gortsplib
2022-02-18 10:24:33 +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
7352244fd9
print closing message before an object is closed
2021-12-22 00:15:15 +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
ebc201bda2
make regexp groups available to custom commands ( #642 )
2021-12-08 20:50:09 +01:00
aler9
02291f552a
align listener opened / closed messages
2021-11-15 20:13:54 +01:00
aler9
f7419586af
update gortsplib
2021-11-12 22:29:56 +01:00
aler9
322ea55534
split API definitions between their corresponding structs
2021-11-05 17:53:24 +01:00
aler9
e4ba689bfd
rtsp: print opened listeners in a single line
2021-11-03 22:44:17 +01: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
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
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
6e5564c0a2
api: return rtspsSessions in case of RTSPS sessions
2021-08-20 10:32:43 +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
20ac25571c
api: add "state" field to RTSP sessions and RTMP connections
2021-08-11 12:25:19 +02:00
aler9
0535ab8e9c
api: add tests
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
f0a283d141
reload only rtsp server when authMethods is changed
2021-08-01 16:56:53 +02:00
aler9
82e65230fd
speed up hls remuxing by linking together pathManager and hlsServer
2021-07-30 14:49:09 +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