Commit Graph

1690 Commits

Author SHA1 Message Date
Alessandro Ros
72b1d233df
normalize channels and methods (#2127)
needed by #2068
2023-07-30 23:53:39 +02:00
Alessandro Ros
e3d4856b4f
update gortsplib (#2126) 2023-07-30 23:39:24 +02:00
Alessandro Ros
83484b1e82
update gohlslib (#2125) 2023-07-30 23:28:54 +02:00
Alessandro Ros
ab8cf3f0cc
add rtmp.Reader, rtmp.Writer (#2124)
needed by #2068
2023-07-30 23:15:22 +02:00
Alessandro Ros
119d6abf19
move HTTP utilities in a dedicated package (#2123)
needed by #2068
2023-07-30 23:03:00 +02:00
Alessandro Ros
08d6d0b888
add base class to all data units (#2122)
needed by #2068
2023-07-30 22:55:13 +02:00
Alessandro Ros
db3862cf0d
move stream in a dedicated package (#2121)
needed by #2068
2023-07-30 22:34:35 +02:00
Alessandro Ros
b42154fa6a
return an error in case the random number generator fails (#2120) 2023-07-30 22:30:41 +02:00
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
dependabot[bot]
583fee26f6
build(deps): bump github.com/abema/go-mp4 from 0.10.1 to 0.11.0 (#2112)
Bumps [github.com/abema/go-mp4](https://github.com/abema/go-mp4) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/abema/go-mp4/releases)
- [Commits](https://github.com/abema/go-mp4/compare/v0.10.1...v0.11.0)

---
updated-dependencies:
- dependency-name: github.com/abema/go-mp4
  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-27 20:23:28 +02:00
dependabot[bot]
7fa097defb
build(deps): bump github.com/bluenviron/mediacommon from 0.5.1 to 0.6.0 (#2110) 2023-07-26 20:57:53 +02:00
Alessandro Ros
9b491499bc
webrtc: speed up track detection (#2105) 2023-07-24 20:32:28 +02:00
dependabot[bot]
5c4153af97
build(deps): bump github.com/bluenviron/gortsplib/v3 from 3.8.1 to 3.8.2 (#2107)
Bumps [github.com/bluenviron/gortsplib/v3](https://github.com/bluenviron/gortsplib) from 3.8.1 to 3.8.2.
- [Commits](https://github.com/bluenviron/gortsplib/compare/v3.8.1...v3.8.2)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/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-24 20:11:26 +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
dependabot[bot]
59a5d40fda
build(deps): bump github.com/gookit/color from 1.5.3 to 1.5.4 (#2089)
Bumps [github.com/gookit/color](https://github.com/gookit/color) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/gookit/color/releases)
- [Commits](https://github.com/gookit/color/compare/v1.5.3...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/gookit/color
  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-22 12:21:54 +02:00
dependabot[bot]
5442353da6
build(deps): bump github.com/pion/webrtc/v3 from 3.2.12 to 3.2.13 (#2092)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.2.12 to 3.2.13.
- [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.12...v3.2.13)

---
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-22 12:18:23 +02:00
dependabot[bot]
fcba131c98
build(deps): bump github.com/pion/rtp from 1.7.13 to 1.8.0 (#2091) 2023-07-21 20:34:32 +02:00
Alessandro Ros
e3b8ee4328
update readme (#2087) 2023-07-19 20:22:15 +02:00
Alessandro Ros
0d3ea6614e
update readme (#2086) 2023-07-19 19:48: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
Hideaki Takahashi
4064a76ec3
fix a compile error with recent libcamera (#2081)
see 26a4b83d1b
2023-07-19 13:59:00 +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
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