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
64d9060560
add additional environment variables to custom commands ( #1414 ) ( #2356 )
...
new variables: MTX_CONN_TYPE, MTX_CONN_ID, MTX_SOURCE_TYPE, MTX_SOURCE_ID, MTX_READER_TYPE, MTX_READ_ID
2 years ago
Alessandro Ros
ed77560811
add runOnDisconnect, runOnNotReady, runOnUnread ( #1464 ) ( #2355 )
2 years ago
Alessandro Ros
b72f3577c8
print warning when the write queue is full ( #2251 )
2 years ago
Alessandro Ros
cf86dbb303
switch to gortsplib/v4 ( #2244 )
2 years ago
Alessandro Ros
bf8e69ea89
rename readBufferCount into writeQueueSize ( #2248 )
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
efb6060b45
update gortsplib ( #1671 )
2 years ago
Alessandro Ros
053f2ec282
rename repository and executable ( #1641 )
2 years ago
Alessandro Ros
2dffccf9c1
update gortsplib, gohlslib ( #1637 )
2 years ago
Alessandro Ros
44fda6650f
rtsp server: make runOnConnect work again ( #1409 )
3 years ago
Alessandro Ros
5efe97abf1
Support reading with WebRTC ( #1242 )
3 years ago
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.
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
7eb7883270
improve performance
3 years ago
aler9
f7fdd60966
rtsp server: log decode errors
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
98c6cd4650
RTSP: automatically remux oversized RTP/H264 packets; drop parameter ReadBufferSize
3 years ago
aler9
0605a2f369
update linter
3 years ago
aler9
f53b316c0d
rtsp server: generate RTCP sender reports automatically; stop routing RTCP packets
3 years ago
aler9
16df033d21
update gortsplib
4 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
ebc201bda2
make regexp groups available to custom commands ( #642 )
4 years ago
aler9
02291f552a
align listener opened / closed messages
4 years ago
aler9
f7419586af
update gortsplib
4 years ago
aler9
322ea55534
split API definitions between their corresponding structs
4 years ago
aler9
e4ba689bfd
rtsp: print opened listeners in a single line
4 years ago
aler9
09a7e11066
add more fatal errors
4 years ago
aler9
0c4cfd0e53
update gortsplib
4 years ago
aler9
ab70f946b0
unexport members of private structs
4 years ago
aler9
8875c8eaa6
rtsp: print exact reason when a session is destroyed ( #649 )
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