Commit Graph

1542 Commits

Author SHA1 Message Date
Jordy84 596765c14c
Allow sending Range header to RTSP sources (#1780)
* Enable Range headers using path config

* Use enum instead of strings

* Comments added to new code

* Wrong comment format

* Made CreateRangeHeader func private

* reorder configuration

* handle errors inside createRangeHeader()

* add tests

* update API docs

---------

Co-authored-by: Jordy Boezaard <jordy@boezaard.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-05-14 17:02:03 +02:00
metal A-wing f22d2f6ec2
add darwin/arm64 binary (#1789) 2023-05-14 15:56:51 +02:00
Alessandro Ros 1688e5d2e5
support publishing with WebRTC (#1659) (#1786) 2023-05-14 14:18:03 +02:00
Alessandro Ros 6ea299fc56
api: fix type of RTMPS readers (#1784)
it was wrongly set to RTMP.
2023-05-10 11:39:40 +02:00
dependabot[bot] 37514ee850
build(deps): bump golang.org/x/crypto from 0.8.0 to 0.9.0 (#1783) 2023-05-09 23:12:56 +02:00
Alessandro Ros f079fd365e
fix race condition in tests (#1781) 2023-05-09 16:29:19 +02:00
dependabot[bot] 216809da5e
build(deps): bump golang.org/x/net from 0.9.0 to 0.10.0 (#1778)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.10.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-05-08 22:41:47 +02:00
dependabot[bot] 2d671e682f
build(deps): bump github.com/bluenviron/gohlslib from 0.2.3 to 0.2.4 (#1779)
Bumps [github.com/bluenviron/gohlslib](https://github.com/bluenviron/gohlslib) from 0.2.3 to 0.2.4.
- [Commits](https://github.com/bluenviron/gohlslib/compare/v0.2.3...v0.2.4)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gohlslib
  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-05-08 22:41:27 +02:00
Alessandro Ros d8678cef90
unify authentication mechanisms (#1775) 2023-05-08 17:04:14 +02:00
andrew-ld a918fae248
allow external authentication to return an error by using the HTTP body (#1546)
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-05-08 15:50:33 +02:00
Alessandro Ros 7aa163366f
return error in case of string-to-int overflows (#1776) 2023-05-08 13:12:47 +02:00
Thomas Anderson 9ac2a05d58
fix: metrics listener address sanitization (#1774)
In commit 3475762 from PR #1678 the restrictNetwork function was called
twice for the metrics listening address only, which leads to 0.0.0.0
listeners not working properly for the metrics server.
2023-05-08 10:27:43 +02:00
Alessandro Ros e998688757
allow setting rpiCameraSaturation to 0 (#1651) (#1772) 2023-05-06 23:00:42 +02:00
Alessandro Ros 7ec753f8a3
support reading AV1 tracks with WebRTC (#1768) 2023-05-04 20:46:48 +02:00
Alessandro Ros e8124e2f56
support publishing H265 and AV1 tracks with Enhanced RTMP (#1393) (#1446) (#1621) (#1756) 2023-05-04 20:37:25 +02:00
Alessandro Ros 225220ddd5
print warning in case no key frames are being received (#1763) 2023-05-04 20:16:41 +02:00
dependabot[bot] cdd907b016
build(deps): bump github.com/bluenviron/gortsplib/v3 from 3.3.1 to 3.4.0 (#1755)
Bumps [github.com/bluenviron/gortsplib/v3](https://github.com/bluenviron/gortsplib) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/bluenviron/gortsplib/releases)
- [Commits](https://github.com/bluenviron/gortsplib/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/v3
  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-05-03 00:42:43 +02:00
Alessandro Ros 22fe65509b
cleanup (#1754) 2023-05-02 13:05:19 +02:00
dependabot[bot] dc89d57ddc
build(deps): bump github.com/pion/webrtc/v3 from 3.2.0 to 3.2.1 (#1751)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v3.2.0...v3.2.1)

---
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-05-02 13:01:39 +02:00
dependabot[bot] 77bfd670b0
build(deps): bump github.com/pion/webrtc/v3 from 3.1.62 to 3.2.0 (#1746)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.1.62 to 3.2.0.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v3.1.62...v3.2.0)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v3
  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-05-01 12:04:25 +02:00
dependabot[bot] 5145504231
build(deps): bump github.com/pion/interceptor from 0.1.13 to 0.1.16 (#1741)
Bumps [github.com/pion/interceptor](https://github.com/pion/interceptor) from 0.1.13 to 0.1.16.
- [Release notes](https://github.com/pion/interceptor/releases)
- [Commits](https://github.com/pion/interceptor/compare/v0.1.13...v0.1.16)

---
updated-dependencies:
- dependency-name: github.com/pion/interceptor
  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-04-26 21:37:42 +02:00
Alessandro Ros db6d6a5b30
update dependencies (#1740) 2023-04-26 14:59:47 +02:00
dependabot[bot] 5098f255ef
build(deps): bump github.com/pion/webrtc/v3 from 3.1.61 to 3.1.62 (#1737)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.1.61 to 3.1.62.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v3.1.61...v3.1.62)

---
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-04-25 21:05:05 +02:00
dependabot[bot] fd02935e12
build(deps): bump github.com/pion/interceptor from 0.1.12 to 0.1.13 (#1738)
Bumps [github.com/pion/interceptor](https://github.com/pion/interceptor) from 0.1.12 to 0.1.13.
- [Release notes](https://github.com/pion/interceptor/releases)
- [Commits](https://github.com/pion/interceptor/compare/v0.1.12...v0.1.13)

---
updated-dependencies:
- dependency-name: github.com/pion/interceptor
  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-04-25 21:00:28 +02:00
Alessandro Ros 2d17dff3b5
support publishing, reading and proxying MPEG-2 audio (MP3) tracks with RTMP (#1102) (#1736) 2023-04-25 18:13:51 +02:00
dependabot[bot] c314d77596
build(deps): bump github.com/pion/webrtc/v3 from 3.1.60 to 3.1.61 (#1732)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.1.60 to 3.1.61.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v3.1.60...v3.1.61)

---
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-04-24 21:32:39 +02:00
dependabot[bot] aa7c1d4534
build(deps): bump github.com/bluenviron/mediacommon from 0.2.1 to 0.3.1 (#1727)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 0.2.1 to 0.3.1.
- [Release notes](https://github.com/bluenviron/mediacommon/releases)
- [Commits](https://github.com/bluenviron/mediacommon/compare/v0.2.1...v0.3.1)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/mediacommon
  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-04-24 17:45:24 +02:00
dependabot[bot] bf784a7296
build(deps): bump github.com/pion/webrtc/v3 from 3.1.59 to 3.1.60 (#1721) 2023-04-17 20:31:59 +02:00
Alessandro Ros d7eadeb523
fix corrupted packets when udpMaxPayloadSize is not set (#1702) (#1711)
this happened when udpMaxPayloadSize was not explicitly set in
configuration file.
2023-04-15 13:45:20 +02:00
Alessandro Ros a649f91414
update README (#1708) 2023-04-14 12:22:44 +02:00
Alessandro Ros 02af80ed4e
rpi camera: support running on 32-bit OS with 64-bit kernel (#1644) (#1700) 2023-04-13 20:20:21 +02:00
Alessandro Ros bf8e69875e
webrtc: fix regression that broke webrtcICEUDPMuxAddress (#1680) (#1699) 2023-04-13 19:03:39 +02:00
Alessandro Ros 02e6c24c83
update dependencies (#1698) 2023-04-13 18:15:13 +02:00
Alessandro Ros f3a728b918
update gohlslib (#1684) 2023-04-11 22:01:41 +02:00
Alessandro Ros 9571afd715
update gortsplib (#1690)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 20:59:31 +02:00
Alessandro Ros 79872cabd6
metrics: return metrics even if there are no paths or clients (#1688) 2023-04-11 20:47:29 +02:00
Alessandro Ros 88953f36a6
add read deadline to all incoming HTTP requests (#1689) 2023-04-11 20:47:19 +02:00
Alessandro Ros 2a5e6e2651
metrics: log HTTP requests when logLevel is debug (#1687) 2023-04-11 20:42:40 +02:00
Alessandro Ros 7ba1039612
udp source: refactor reader (#1683) 2023-04-11 18:58:56 +02:00
Alessandro Ros e666e480cc
update gstreamer recommended pipeline (#1682) 2023-04-11 18:41:41 +02:00
Alessandro Ros 34757620b8
do not listen on IPv6 when host is 0.0.0.0 (#1665) (#1678) 2023-04-10 22:48:33 +02:00
Alessandro Ros 67741d16dd
update readme (#1672) 2023-04-10 15:15:20 +02:00
kkocdko 1c70d627da
add viewport meta to hls and webrtc page (#1653) 2023-04-09 19:15:50 +02:00
Alessandro Ros 3ba133bc60
add remote port to HTTP requests in logs (#1663) 2023-04-09 17:12:50 +02:00
Alessandro Ros efb6060b45
update gortsplib (#1671) 2023-04-09 17:11:54 +02:00
Alessandro Ros e426810455
allow additional characters in usernames and passwords (#1580) (#1666) 2023-04-09 14:06:25 +02:00
dependabot[bot] d72dab858e
build(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0 (#1668) 2023-04-07 20:12:12 +02:00
Alessandro Ros 455f88bd5c
update readme (#1661) 2023-04-07 12:45:02 +02:00
dependabot[bot] eaedefd225
build(deps): bump golang.org/x/net from 0.8.0 to 0.9.0 (#1655)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.8.0...v0.9.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-04-06 21:08:59 +02:00
Alessandro Ros adbd4b7296
fix compatibility between confwatcher and legacy configuration file (#1642) 2023-04-01 20:06:43 +02:00