github-actions[bot]
8bd717cf96
bump hls.js to v1.5.10 ( #3421 )
2024-06-04 10:27:05 +02:00
Alessandro Ros
ca1638976b
webrtc: support reading and publishing multichannel Opus ( #3371 ) ( #3375 )
2024-06-03 00:26:32 +02:00
Alessandro Ros
c37e8953fa
webrtc: show error when setLocalDescription or createOffer fail ( #3417 )
2024-06-02 23:19:58 +02:00
Alessandro Ros
ca6e1259fb
webrtc: support reading and proxying stereo PCMU/PCMA tracks ( #3402 )
2024-06-02 23:08:54 +02:00
Alessandro Ros
6da8aee64f
webrtc: show error in case setRemoteDescription fails ( #3416 )
2024-06-02 22:14:36 +02:00
Jason Walton
1c2f95f609
webrtc: allow configuring timeouts ( #3404 ) ( #3406 )
...
* webrtc: allow configuring timeouts (#3404 )
* fix from code inspect
2024-05-30 13:36:58 +02:00
github-actions[bot]
500c5ef350
bump hls.js to v1.5.9 ( #3407 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-05-30 10:35:03 +02:00
Alessandro Ros
407702380a
webrtc: in answer, include codecs that are actually in use ( #3374 )
2024-05-19 19:41:42 +02:00
Alessandro Ros
e283725cde
support routing multichannel Opus between RTSP, SRT, HLS, UDP and recording in MPEG-TS and fMP4 ( #3355 ) ( #3368 )
2024-05-19 14:38:57 +02:00
Alessandro Ros
d21506182b
webrtc: fix returning code 404 when a stream does not exist ( #3369 )
2024-05-19 13:46:47 +02:00
Alessandro Ros
f3ed659fab
rtsp: fix authentication when algorithm field is not supported ( #3116 ) ( #3314 )
2024-05-15 10:28:12 +02:00
xjr20042
6debb52abd
hls: make closeAfterInactivity configurable ( #3329 )
...
* HLS: make closeAfterInactivity configurable
* add `hlsMuxerCloseAfter` to `apidocs/openapi.yaml`
2024-05-09 10:08:15 +02:00
Alessandro Ros
dcb5b45e84
update dependencies ( #3325 )
2024-05-05 19:06:47 +02:00
Alessandro Ros
5d0ebdef56
webrtc: fix error when charset is in Content-Type ( #3126 ) ( #3318 )
2024-05-05 10:47:12 +02:00
Alessandro Ros
1204f76eb7
update golangci-lint ( #3300 )
2024-04-28 18:20:08 +02:00
Alessandro Ros
85dd81698b
support HTTPS, Allow-Origin and trusted proxies in API, playback server, metrics server and pprof server ( #2658 ) ( #2491 ) ( #3235 ) ( #3280 )
2024-04-21 17:10:35 +02:00
xjr20042
75ae2f4fac
hls: fix population of runOnDemand's MTX_QUERY ( #3255 )
2024-04-19 22:53:16 +02:00
Rafael Scheidt
2bd8ac7e19
fix support for JWT authentication in API, metrics, playback, pprof ( #3253 )
...
Co-authored-by: Rafael Scheidt <rafaelscheidt@Rafaels-MacBook-Air.local>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-04-18 23:55:48 +02:00
Alessandro Ros
cfea14e8e5
webrtc: detect stereo tracks published with the web page ( #2902 ) ( #3263 )
2024-04-17 23:41:45 +02:00
Alessandro Ros
9e718f9dd9
webrtc: in publish page, prevent same device from appearing multiple times ( #3261 )
2024-04-17 23:39:17 +02:00
Alessandro Ros
851358a379
webrtc: fix loading default video and devices from query ( #3260 )
2024-04-17 22:59:50 +02:00
Alessandro Ros
36f4425fa4
webrtc: fix setting bitrate when 'optimize for voice' is off ( #3262 )
2024-04-17 22:59:06 +02:00
Alessandro Ros
7193f82708
webrtc: improve layout of publish page; add 'ideal' label to width, height and framerate ( #2845 ) ( #3254 )
2024-04-17 12:17:26 +02:00
Alessandro Ros
665e11a376
webrtc, hls: use absolute paths in Location header ( #3195 ) ( #3177 ) ( #3240 )
2024-04-14 12:04:51 +02:00
Alessandro Ros
a18bebfa58
webrtc: unexport WHIP primitives ( #3233 )
2024-04-13 11:08:30 +02:00
Alessandro Ros
a6cc52f0b2
webrtc: return 404 in case a WHIP PATCH or WHIP DELETE request fails ( #3232 )
2024-04-13 11:04:45 +02:00
github-actions[bot]
571d813531
bump hls.js to v1.5.8 ( #3222 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-04-11 12:21:31 +02:00
Alessandro Ros
9ce12ffa4a
fix race condition in WebRTC tests ( #3204 )
2024-04-07 22:46:24 +02:00
Dan Bason
87c0535823
Add option for ICE servers to be client only ( #3164 )
...
* Add option for ICE servers to be client only
* add clientOnly to configuration file and API docs
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-04-06 18:32:53 +02:00
Alessandro Ros
4e581af7a6
hls: fix directory creation when using hlsDirectory ( #3135 ) ( #3151 )
2024-03-19 14:09:25 +01:00
Alessandro Ros
1d4ea2cd9a
hls: fix freeze in case of muxing errors ( #3135 ) ( #3150 )
2024-03-19 14:01:14 +01:00
Alessandro Ros
c7dbb951f3
update golangci-lint ( #3149 )
2024-03-19 12:53:26 +01:00
Alessandro Ros
24cc62e344
hls: decrease number of idle connections kept open after a reconnection ( #3128 )
2024-03-10 11:51:15 +01:00
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).
2024-03-04 14:20:34 +01:00
github-actions[bot]
a0be4ca05f
bump hls.js to v1.5.7 ( #3072 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-02-27 16:12:39 +01:00
Alessandro Ros
b6db3121b5
rtsp: add random value to timestamp of tracks from other protocols ( #3071 )
2024-02-26 00:41:05 +01:00
Alessandro Ros
c7bdcea741
move RTSP tests into internal/servers/rtsp ( #3049 )
2024-02-20 19:35:35 +01:00
Alessandro Ros
34dbcfb508
move WebRTC tests into internal/servers/webrtc ( #3043 )
2024-02-18 22:15:08 +01:00
github-actions[bot]
679bad7fbf
bump hls.js to v1.5.6 ( #3038 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-02-18 17:37:24 +01:00
Alessandro Ros
9e5de737f0
move SRT tests into internal/servers/srt ( #3037 )
2024-02-17 20:42:41 +01:00
Alessandro Ros
ad58efe47d
move RTMP tests into internal/servers/rtmp ( #3035 )
2024-02-16 23:27:27 +01:00
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>
2024-02-16 14:22:30 +01:00
github-actions[bot]
992a8082b8
bump hls-js to vv1.5.5 ( #3019 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-02-14 11:58:44 +01:00
Alessandro Ros
ba69241377
hls: stop spamming 'stream doesn't contain any supported codec' when hlsAlwaysRemux is true ( #3018 )
2024-02-13 23:36:40 +01:00
Alessandro Ros
1ae3240b91
hls: fix crash when muxer is being recreated, improve performance ( #3017 )
2024-02-13 23:32:15 +01:00
Alessandro Ros
b6eaa6bc18
move test utilities into 'test' ( #3016 )
...
* move test utilities into 'test'
* rename newEmptyTimer into emptyTimer
2024-02-13 18:49:27 +01:00
Alessandro Ros
c2883f2ce9
hls: when alwaysRemux is true, prevent clients from creating muxers ( #3015 )
2024-02-13 17:37:03 +01:00
Alessandro Ros
3161e73a58
rename httpserv into httpp ( #3014 )
2024-02-13 13:04:56 +01:00
Alessandro Ros
487f92ac55
hls: in logs, store both ip and port of incoming requests ( #3013 )
2024-02-12 22:44:44 +01:00
Alessandro Ros
df3dfea132
fix compilation with Windows and git autocrlf ( #3010 ) ( #3011 )
2024-02-12 18:13:01 +01:00