Commit graph

464 commits

Author SHA1 Message Date
Alessandro Ros
dfc8e1fa91
webrtc: fix race condition when broadcasting RTP packets (#2117) 2023-07-29 00:43:10 +02:00
Alessandro Ros
e4bd1b35a2
update dependencies (#2113) 2023-07-28 00:06:58 +02:00
Alessandro Ros
9b491499bc
webrtc: speed up track detection (#2105) 2023-07-24 20:32:28 +02:00
Alessandro Ros
f30944a5b7
update golangci-lint (#2106) 2023-07-24 19:59:26 +02:00
Alessandro Ros
1fa53b49d4
webrtc, hls: prevent brute-force attacks by waiting before sending responses (#2100) 2023-07-23 20:18:58 +02:00
Alessandro Ros
0137734294
webrtc, hls: show IP in logs in case of failed authentication (#2099) 2023-07-23 20:06:16 +02:00
Alessandro Ros
36298f8bc8
webrtc: send session ID to external auth server (#1981) (#2098) 2023-07-23 19:31:34 +02:00
Alessandro Ros
af23609d47
api: fix crash when calling /v1/webrtcsessions/list just after session creation (#2097) 2023-07-23 18:40:06 +02:00
Alessandro Ros
3bb12e2a0a
webrtc: show both IP and port during session creation and in API (#2096) 2023-07-23 18:23:15 +02:00
Alessandro Ros
2e476cf4e0
rpi camera: remove patchelf dependency (#2093) 2023-07-22 13:54:08 +02:00
Alessandro Ros
6d342082c2
rpi camera: add rpiCameraHDR parameter (#1876) (#2083) 2023-07-19 14:55:21 +02:00
Alessandro Ros
0d18076201
api: add 'readyTime' to paths (#2049) (#2082) 2023-07-19 14:06:13 +02:00
Alessandro Ros
37586b2300
api: allow to edit properties of path config "all" (#2067) (#2075) 2023-07-19 13:33:05 +02:00
Alessandro Ros
048280f4e2
webrtc: display publish-related errors in web page (#1836) (#2080) 2023-07-19 13:20:05 +02:00
Alessandro Ros
473c075d89
webrtc: fix memory leak during shutdown or session kick (#2079) 2023-07-19 12:31:50 +02:00
Alessandro Ros
f7a30e7b38
api: return 404 when a path configuration is not found (#2067) (#2074)
this involves /v2/config/paths/edit and /v2/config/paths/remove
2023-07-19 00:22:52 +02:00
Alessandro Ros
22b120ef22
update list of supported codecs inside error messages (#2058) (#2073) 2023-07-19 00:14:50 +02:00
Alessandro Ros
5066ba403c
webrtc: fix race condition that caused random crashes during handshake (#2072) 2023-07-18 23:41:52 +02:00
Alessandro Ros
3967caa530
join validation of TLS fingerprints (#2071) 2023-07-18 23:39:26 +02:00
Alessandro Ros
ffa012ab3c
make sure components are closed in a specific order (#2065) 2023-07-17 00:33:34 +02:00
Alessandro Ros
3e8a1674ab
cleanup code (#2044) 2023-07-11 16:51:23 +02:00
Jordy84
1103e935c4
api: fix error in case of nested paths (#2040)
* Fixed API paths/get with nested paths

* Lint error

* Same fix for /v2/hlsmuxers/get

---------

Co-authored-by: Jordy Boezaard <jordy@boezaard.com>
2023-07-10 19:53:25 +02:00
Volodymyr Borodin
47317ea8e5
api: add path to RTMP connections, RTSP sessions, WebRTC sessions (#1962) (#2022)
* api: add path to rtmp response

* add 'path' to RTSP and WebRTC sessions too

* add tests

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-07-05 21:20:26 +02:00
Alessandro Ros
f0a4bd4e5d
stop execution in case of panics when handling HTTP requests (#2021) 2023-07-04 22:24:07 +02:00
Alessandro Ros
64a715a663
hls, webrtc: add Authorization to Access-Control-Allow-Headers (#2018) (#2020) 2023-07-04 22:18:41 +02:00
Alessandro Ros
1a748bb971
webrtc: allow using special characters in ICE server credentials (#1953) (#2000) 2023-06-30 16:47:10 +02:00
Alessandro Ros
059ca76fad
webrtc: support publishing with OBS and WebRTC (#1998) 2023-06-28 15:47:21 +02:00
Alessandro Ros
f1b975707a
api: return 404 in /get and /kick endpoints (#1994) (#1995)
when an entity is not found
2023-06-27 23:55:31 +02:00
Alessandro Ros
20a3b07d0a
webrtc: move codec and bitrate settings on client side (#1990) 2023-06-27 22:37:06 +02:00
Alessandro Ros
79ee4e06f3
webrtc: add option to disable audio effects (#1908) (#1989) 2023-06-27 22:36:29 +02:00
Alessandro Ros
4aef466103
webrtc: allow setting Opus bitrate (#1908) (#1985) 2023-06-27 22:15:50 +02:00
Alessandro Ros
6663f7b474
webrtc: forbid publishing zero tracks (#1991) 2023-06-27 13:58:06 +02:00
Alessandro Ros
fb1f8ff81d
webrtc: fix bitrate not being applied (#1984) 2023-06-24 18:35:19 +02:00
Alessandro Ros
c46d2156b6
webrtc: fix memory leak when publishing or reading (#1884) (#1983) 2023-06-24 13:30:36 +02:00
Alessandro Ros
2faca73749
hls, webrtc: in the web page, pass query parameters to inner requests (#1976) 2023-06-22 13:19:57 +02:00
Alessandro Ros
5224531551
webrtc: do not pass preflight requests to external auth (#1941) (#1972) 2023-06-22 12:49:59 +02:00
Alessandro Ros
ba6c0fa822
set Access-Control-Allow-Headers to a static string (#1973) 2023-06-22 00:16:19 +02:00
Alessandro Ros
5033d1e145
update dependencies (#1968) 2023-06-21 16:20:21 +02:00
Alessandro Ros
f79c4783c7
rename environment variable RTSP_PATH into MTX_PATH (#1967) 2023-06-21 16:08:37 +02:00
Alessandro Ros
815fa0586a
webrtc: fix using inline credentials in URLs (#1919) (#1966) 2023-06-21 15:44:04 +02:00
Alessandro Ros
4f098cbdf3
improve tests (#1965) 2023-06-21 15:03:02 +02:00
Alessandro Ros
daa6500082
webrtc: make preflight OPTIONS requests work with external auth (#1941) (#1964)
* webrtc: allow preflight OPTIONS requests to work with external auth (#1941)

* add tests

* improve tests
2023-06-21 13:53:58 +02:00
Alessandro Ros
d3354a0c99
fix 'runOnDemandRestart: yes' (#1947) 2023-06-21 13:25:26 +02:00
Alessandro Ros
4dd518cbb1
rebrand initial log message (#1922) 2023-06-07 12:25:16 +02:00
Alessandro Ros
e2a6c380b0
api: fix setting default parameters when creating a path (#1853) (#1905)
this fixes a regression introduced in v0.23.0.
2023-06-02 18:43:04 +02:00
Alessandro Ros
681a00347d
support reading MP4A-LATM-encoded AAC with RTMP and HLS (#1694) (#1898) 2023-06-02 00:38:27 +02:00
Victor
052da51af3
Add WebRTC stream id to whep response headers (#1879)
* Add WebRTC stream id to whep response headers

* change header name from UUID to ID

* add tests

---------

Co-authored-by: Victor Vitkovskiy <victor.vitkovskiy@mirasys.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-05-31 18:24:06 +02:00
Alessandro Ros
210603d7c4
update documentation (#1885) 2023-05-31 18:16:39 +02:00
Alessandro Ros
ce1d2abc15
fix using multicast when a single interface doesn't support it (#1874) 2023-05-28 18:12:32 +02:00
Alessandro Ros
89ebc83993
update golangci-lint (#1870) 2023-05-28 17:18:16 +02:00