Commit graph

1661 commits

Author SHA1 Message Date
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
1398f42e08
allow removing default WebRTC ICE server with environment variables (#2064) 2023-07-17 00:12:05 +02:00
Alessandro Ros
8dad1e9d50
add to the README instructions on authentication with RTMP (#2056) (#2057) 2023-07-14 11:12:37 +02:00
dependabot[bot]
b7f32f1b74
build(deps): bump github.com/pion/webrtc/v3 from 3.2.11 to 3.2.12 (#2051)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.2.11 to 3.2.12.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Changelog](https://github.com/pion/webrtc/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/webrtc/compare/v3.2.11...v3.2.12)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 20:08:38 +02:00
Alessandro Ros
5e0b9b8426
disable colored log lines when output is not a terminal (#1477) (#2050) 2023-07-11 20:08:00 +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
dependabot[bot]
625e7da91d
build(deps): bump github.com/pion/ice/v2 from 2.3.8 to 2.3.9 (#2031)
Bumps [github.com/pion/ice/v2](https://github.com/pion/ice) from 2.3.8 to 2.3.9.
- [Release notes](https://github.com/pion/ice/releases)
- [Changelog](https://github.com/pion/ice/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/ice/compare/v2.3.8...v2.3.9)

---
updated-dependencies:
- dependency-name: github.com/pion/ice/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 09:19:21 +02:00
Alessandro Ros
69fd7a6077
apidocs: fix source/reader types (#2027) 2023-07-05 21:21:14 +02:00
dependabot[bot]
fe48eba9da
build(deps): bump golang.org/x/net from 0.11.0 to 0.12.0 (#2025)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/net/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 21:21:04 +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
91ada9bf07
improve readme (#2016) 2023-07-02 14:11:33 +02:00
Alessandro Ros
a7f3cb287e
rewrite readme (#2015) 2023-07-02 14:03:53 +02:00
Alessandro Ros
a1bbe76120
improve issue linter compatibility (#2010) 2023-07-01 17:00:09 +02:00
Alessandro Ros
74df255091
update dependencies (#2006) 2023-07-01 12:20:59 +02:00
dependabot[bot]
dec2ffaa42
build(deps): bump github.com/pion/webrtc/v3 from 3.2.10 to 3.2.11 (#2002)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.2.10 to 3.2.11.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Changelog](https://github.com/pion/webrtc/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/webrtc/compare/v3.2.10...v3.2.11)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-01 12:16:23 +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
418f4a90b5
rpicamera: check libcamera architecture by using the ELF header (#1940) (#1997) 2023-06-28 16:46:32 +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
dependabot[bot]
07a28c8f6b
build(deps): bump github.com/alecthomas/kong from 0.7.1 to 0.8.0 (#1978) 2023-06-23 07:44:58 +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
e42002c24a
add instructions on how to add audio to rpi camera (#1620) (#1388) (#1425) (#1975) 2023-06-22 12:10:09 +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
4d55824508
add Arch Linux package (#1957) (#1969)
* add Arch Linux package

* Update README.md

Co-authored-by: database64128 <free122448@hotmail.com>

---------

Co-authored-by: database64128 <free122448@hotmail.com>
2023-06-21 16:09:22 +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
dependabot[bot]
fe5b09b28e
build(deps): bump github.com/pion/ice/v2 from 2.3.7 to 2.3.8 (#1956)
Bumps [github.com/pion/ice/v2](https://github.com/pion/ice) from 2.3.7 to 2.3.8.
- [Release notes](https://github.com/pion/ice/releases)
- [Changelog](https://github.com/pion/ice/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/ice/compare/v2.3.7...v2.3.8)

---
updated-dependencies:
- dependency-name: github.com/pion/ice/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-17 12:09:04 +02:00
dependabot[bot]
0d1aad2456
build(deps): bump golang.org/x/net from 0.10.0 to 0.11.0 (#1946)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 18:03:22 +02:00
dependabot[bot]
2f39b79847
build(deps): bump golang.org/x/crypto from 0.9.0 to 0.10.0 (#1945)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/crypto/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 17:01:00 +02:00