Alessandro Ros
4e581af7a6
hls: fix directory creation when using hlsDirectory ( #3135 ) ( #3151 )
1 year ago
Alessandro Ros
1d4ea2cd9a
hls: fix freeze in case of muxing errors ( #3135 ) ( #3150 )
1 year ago
Alessandro Ros
c7dbb951f3
update golangci-lint ( #3149 )
1 year ago
Alessandro Ros
24cc62e344
hls: decrease number of idle connections kept open after a reconnection ( #3128 )
1 year ago
Jonathan Martin
1989997fe1
webrtc: fix memory leak when WHEP track gathering fails and decrease count of idle HTTP connections ( #3124 )
...
* fix: whep gathering failure leaks peer connections
* fix: failure to create whep client leaks
when read fails, client is not closed
* fix: close idle connection with whip client
* fix: no link check on early whip client close
* move http.Client.CloseIdleConnections() outside WHIPClient
* automatically call WHEPClient.Close() in case of errors during WHEPClient.Read() or WHEPClient.Publish()
---------
Co-authored-by: Jonathan Martin <jonathan.martin@marss.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
1 year ago
Jonathan Martin
732bf565bf
webrtc: fix deadlock when a WHEP source fails ( #3062 ) ( #3108 ) ( #3110 )
...
Co-authored-by: Jonathan Martin <jonathan.martin@marss.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
1 year ago
Alessandro Ros
dd3b268346
do not switch to legacy authentication system when readUser, readPass, publishUser, publishPass are present but are empty ( #3113 )
1 year ago
Alessandro Ros
9c6ba7e2c7
New authentication system ( #1341 ) ( #1992 ) ( #2205 ) ( #3081 )
...
This is a new authentication system that covers all the features exposed by the server, including playback, API, metrics and PPROF, improves internal authentication by adding permissions, improves HTTP-based authentication by adding the ability to exclude certain actions from being authenticated, adds an additional method (JWT-based authentication).
1 year ago
Alessandro Ros
44918fce0d
when stopping hooks, stop all their subprocesses too ( #3004 ) ( #3087 )
1 year ago
github-actions[bot]
a0be4ca05f
bump hls.js to v1.5.7 ( #3072 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
1 year ago
Alessandro Ros
b6db3121b5
rtsp: add random value to timestamp of tracks from other protocols ( #3071 )
1 year ago
Alessandro Ros
da7c5744b1
rtmp: add new AMF0 encoder and encoder ( #3069 )
...
This improves performance, security and removes a dependency.
1 year ago
Alessandro Ros
c7bdcea741
move RTSP tests into internal/servers/rtsp ( #3049 )
1 year ago
Dan Bason
e8b19b82d5
in hooks, allow replacing placeholders with environment ( #3044 )
1 year ago
Alessandro Ros
34dbcfb508
move WebRTC tests into internal/servers/webrtc ( #3043 )
1 year ago
Alessandro Ros
a52f550ee6
webrtc: return an error when proxying stream with no tracks ( #3042 )
1 year ago
github-actions[bot]
679bad7fbf
bump hls.js to v1.5.6 ( #3038 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
1 year ago
Alessandro Ros
9e5de737f0
move SRT tests into internal/servers/srt ( #3037 )
1 year ago
Alessandro Ros
ad58efe47d
move RTMP tests into internal/servers/rtmp ( #3035 )
1 year ago
Spencer Lowe
e5e029a7f4
srt: add additional metrics ( #2962 )
...
* first attempt at the srt metrics
* Updated variables to better match mediamtx
* Prometheus metrics for SRT
* Update readme for SRT metrics
* Switch openapi to number from float
* SRT metrics metrics response fix
* Make the metric test less strict, and nolint line length on the SRT metrics struct
* remove nolint
* move BytesSent and BytesReceived into APISRTConnMetrics
* merge APISRTConn and APISRTConnMetrics
* improve tests
---------
Co-authored-by: slowe <slowe@clairglobal.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
1 year ago
github-actions[bot]
992a8082b8
bump hls-js to vv1.5.5 ( #3019 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
1 year ago
Alessandro Ros
ba69241377
hls: stop spamming 'stream doesn't contain any supported codec' when hlsAlwaysRemux is true ( #3018 )
1 year ago
Alessandro Ros
1ae3240b91
hls: fix crash when muxer is being recreated, improve performance ( #3017 )
1 year ago
Alessandro Ros
b6eaa6bc18
move test utilities into 'test' ( #3016 )
...
* move test utilities into 'test'
* rename newEmptyTimer into emptyTimer
1 year ago
Alessandro Ros
c2883f2ce9
hls: when alwaysRemux is true, prevent clients from creating muxers ( #3015 )
1 year ago
Alessandro Ros
3161e73a58
rename httpserv into httpp ( #3014 )
1 year ago
Alessandro Ros
487f92ac55
hls: in logs, store both ip and port of incoming requests ( #3013 )
1 year ago
Alessandro Ros
df3dfea132
fix compilation with Windows and git autocrlf ( #3010 ) ( #3011 )
1 year ago
Alessandro Ros
9eb97ad3a0
remove hls.js from the repository and restore plain MIT license ( #3008 )
1 year ago
Alessandro Ros
fcf649cdaf
tests: make sure that dates with decimal seconds can be parsed correctly ( #3007 )
1 year ago
github-actions[bot]
1b13018321
bump hls-js to v1.5.4 ( #2999 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
1 year ago
Alessandro Ros
22a589b724
stop logging HTTP requests twice ( #2993 )
1 year ago
Alessandro Ros
0332ba59a0
api: add endpoints for recording management ( #2901 ) ( #2988 )
1 year ago
Alessandro Ros
695e327a03
playback: make 'format' parameter optional ( #2980 )
1 year ago
Alessandro Ros
ff70f9022e
playback: accept durations written in seconds ( #2979 )
1 year ago
Alessandro Ros
e6bf095a05
playback: add /list endpoint to list available timespans ( #2978 )
1 year ago
Alessandro Ros
4553fc267c
hls, webrtc: in web page, add shadow to messages ( #2959 )
1 year ago
Alessandro Ros
b32bc8dee9
hls, webrtc: in web page, prevent video from overflowing ( #2958 )
1 year ago
Alessandro Ros
320f5a7a21
api: improve performance by using RWMutex ( #2968 )
1 year ago
github-actions[bot]
97c58b4530
bump hls-js to v1.5.3 ( #2964 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
1 year ago
Alessandro Ros
0433af66a3
hls, webrtc: in the web page, show connection errors to users ( #2957 )
1 year ago
Alessandro Ros
7d0e702f14
hls: fix infinite loop in web client when reading incompatible codecs ( #2956 )
...
when a player received a stream with incompatible codecs, it started
polling the server for index.m3u8 in an infinite loop. This was caused
by #2631
1 year ago
Alessandro Ros
0f733bab26
add rpiCameraAWBGains ( #2858 ) ( #2954 )
1 year ago
Alessandro Ros
6f6f8e0994
prevent multiple crashes when reloading the configuration ( #2945 )
1 year ago
github-actions[bot]
2f35bbc5bc
bump hls-js to v1.5.2 ( #2948 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
1 year ago
Alessandro Ros
57c2d5aecb
add playback server ( #2452 ) ( #2906 )
...
* add playback server
* add playback switch
* update readme
1 year ago
Alessandro Ros
9b270adc03
record: use reception time instead of current time in segment names ( #2925 )
1 year ago
Alessandro Ros
f8a56aae91
rtmp: simplify Audio message structure ( #2924 )
1 year ago
Alessandro Ros
7b9617f2e7
api: return 404 when an entity is not found ( #2582 ) ( #2920 )
1 year ago
Alessandro Ros
b3eaec50c1
srt: support standard streamID syntax ( #2469 ) ( #2919 )
1 year ago