Commit graph

85 commits

Author SHA1 Message Date
Alessandro Ros
f227971517
fix UDP-related tests (#3484)
for some reason, using "localhost" with UDP inside GitHub Actions and
Docker stopped working.
2024-06-17 23:09:25 +02:00
Alessandro Ros
39ae1269ad
webrtc: support passing username and password through Bearer Token (#3248) (#3459) 2024-06-11 23:37:59 +02:00
Alessandro Ros
caa9fa6ca0
webrtc, hls: support passing JWT through Authorization header (#3248) (#3458) 2024-06-11 23:33:01 +02:00
Alessandro Ros
80a133afc9
bump dependencies (#3457) 2024-06-11 22:43:27 +02:00
Alessandro Ros
095921dc26
webrtc: on browsers, display error messages from server (#3448) 2024-06-10 15:41:05 +02:00
Alessandro Ros
d0c8e89223
fix webrtc/G722 tests (#3444) 2024-06-10 10:15:25 +02:00
Alessandro Ros
511b276b4d
webrtc: support reading G711 16khz tracks (#2848) (#3445) 2024-06-10 00:57:26 +02:00
Alessandro Ros
427fea30ed
fix webrtc/VP9 tests (#3443) 2024-06-09 23:18:47 +02:00
Alessandro Ros
d7bc304e52
webrtc: speed up gathering of incoming tracks (#3441) 2024-06-09 22:58:40 +02:00
Alessandro Ros
eaf47e6598
webrtc: support reading, publishing, proxying LPCM tracks (#3437) 2024-06-09 22:51:16 +02:00
github-actions[bot]
b9e9b08759
bump hls.js to v1.5.11 (#3426) 2024-06-05 09:00:22 +02:00
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