Alessandro Ros
43d41c070b
move static sources into dedicated package ( #2616 )
2 years ago
Alessandro Ros
07ff79f553
api: return 500 instead of 404 in case of non-existing items ( #2582 )
...
This is needed to differentiate between calls to non-existent andpoints
and calls to valid endpoints, but with an ID pointing to a non-existing
item, and to return JSON in the latter case.
2 years ago
Alessandro Ros
9a01ab7fd5
allow changing default path settings; bump API in order to allow so ( #2455 )
2 years ago
Alessandro Ros
ed77560811
add runOnDisconnect, runOnNotReady, runOnUnread ( #1464 ) ( #2355 )
2 years ago
Alessandro Ros
bf8e69ea89
rename readBufferCount into writeQueueSize ( #2248 )
2 years ago
Alessandro Ros
ab8cf3f0cc
add rtmp.Reader, rtmp.Writer ( #2124 )
...
needed by #2068
2 years ago
Alessandro Ros
ffa012ab3c
make sure components are closed in a specific order ( #2065 )
2 years ago
Alessandro Ros
f1b975707a
api: return 404 in /get and /kick endpoints ( #1994 ) ( #1995 )
...
when an entity is not found
2 years ago
Alessandro Ros
6cb3ff0d55
api: sort results of /list endpoints ( #1828 )
2 years ago
Alessandro Ros
b93eed64bc
api: add /get endpoints ( #1577 ) ( #1823 )
...
this allows to get entities by ID or name after /list endpoints were
changed in v0.23.0.
2 years ago
Alessandro Ros
9c79197f36
api: add pagination to all /list endpoints ( #1808 )
2 years ago
Alessandro Ros
39c072edd6
change repository owner ( #1801 )
2 years ago
Alessandro Ros
a14246d776
webrtc: support publishing with WHIP and reading with WHEP ( #1800 )
2 years ago
Alessandro Ros
d8678cef90
unify authentication mechanisms ( #1775 )
2 years ago
Alessandro Ros
225220ddd5
print warning in case no key frames are being received ( #1763 )
2 years ago
Alessandro Ros
34757620b8
do not listen on IPv6 when host is 0.0.0.0 ( #1665 ) ( #1678 )
2 years ago
Alessandro Ros
053f2ec282
rename repository and executable ( #1641 )
2 years ago
Alessandro Ros
5efe97abf1
Support reading with WebRTC ( #1242 )
3 years ago
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
3 years ago
Alessandro Ros
423bb61daa
use UUIDs as IDs in all entities ( #1234 )
3 years ago
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
3 years ago
aler9
afcb874657
add missing tests
3 years ago
Alessandro Ros
820ba067f2
support RTMPS ( #1089 )
3 years ago
aler9
092a2be3a8
api: add "created" field to RTSP sessions, RTMP connections, HLS muxers
3 years ago
aler9
055e08ac6c
remove "on" prefix from most communication functions between components
3 years ago
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
3 years ago
aler9
0605a2f369
update linter
3 years ago
aler9
43471a05ab
update gortsplib
4 years ago
aler9
8ac665be87
un-capitalize private fields
4 years ago
aler9
11760fd79f
support external authentication ( #504 ) ( #517 )
4 years ago
aler9
7352244fd9
print closing message before an object is closed
4 years ago
aler9
1617d07ba3
do not wait for external commands to exit during runtime
...
wait for them during shutdown.
4 years ago
aler9
02291f552a
align listener opened / closed messages
4 years ago
aler9
322ea55534
split API definitions between their corresponding structs
4 years ago
aler9
09a7e11066
add more fatal errors
4 years ago
aler9
ab70f946b0
unexport members of private structs
4 years ago
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
4 years ago
aler9
f1a812ba5d
rewrite metrics system to provide more data ( #492 )
4 years ago
aler9
6702cb41ed
api: make sure that entities are deleted immediately after a kick request
4 years ago
aler9
20ac25571c
api: add "state" field to RTSP sessions and RTMP connections
4 years ago
aler9
0535ab8e9c
api: add tests
4 years ago
aler9
ed375583d0
Implement an HTTP API to query and control the server
4 years ago
aler9
de6e9589b8
fix multiple freezes during shutdown of components
4 years ago
aler9
82e65230fd
speed up hls remuxing by linking together pathManager and hlsServer
4 years ago
aler9
9062dbf883
move most components into internal/core
...
in this way coverage can be computed correctly.
4 years ago
aler9
99323ba740
update golangci-lint
4 years ago
aler9
f086b624c1
use hierarchical contexts
4 years ago
aler9
e558b245e7
use contexts anywhere is possible
4 years ago
aler9
9bab230e0d
tidy up logs
4 years ago
aler9
bc9cbc8605
put protocol before entities
4 years ago