Commit Graph
3136 Commits
Author SHA1 Message Date
bluenviron-botandGitHub dc979a0be8 bump Golang to 1.26 (#5721) 2026-04-30 16:23:45 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d4ca8d2dcc build(deps): bump github.com/bluenviron/gohlslib/v2 (#5719)
Bumps [github.com/bluenviron/gohlslib/v2](https://github.com/bluenviron/gohlslib) from 2.3.1-0.20260430110435-7edc280662f7 to 2.3.1.
- [Commits](https://github.com/bluenviron/gohlslib/commits/v2.3.1)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gohlslib/v2
  dependency-version: 2.3.1
  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>
2026-04-30 16:04:28 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
18d579082c build(deps): bump github.com/fsnotify/fsnotify from 1.9.0 to 1.10.0 (#5720)
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-version: 1.10.0
  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>
2026-04-30 16:04:00 +02:00
Alessandro RosandGitHub ddb5f7212f hls: add hlsCDNSecret (#5716)
this allows to serve HLS streams behind a CDN in a simplified way, compatible with the new HLS session system.
2026-04-30 15:52:11 +02:00
Alessandro RosandGitHub 585b17375e docs: remove the "variants" column from publish and read pages (#5717) 2026-04-30 13:19:50 +02:00
Alessandro RosandGitHub a9d4b2051e docs: format (#5715) 2026-04-30 12:34:22 +02:00
Alessandro RosandGitHub 57afd4e0f4 docs: move codecs in specific protocol pages (#5713) 2026-04-30 12:22:57 +02:00
ehandGitHub fcf5eb092d hls: support reading and writing KLV (#5604) 2026-04-30 12:14:00 +02:00
Alessandro RosandGitHub 9b4531364e hls, webrtc: prevent open redirect attacks (#5708) 2026-04-30 00:10:46 +02:00
Alessandro RosandGitHub e6c20adf28 prevent code injection in case of MTX_QUERY in hooks (#5707)
When MTX_QUERY is used explicitly in hooks, for instance "curl
http://something/?$MTX_QUERY", it can be used to inject arbitrary
commands. MTX_QUERY is now url-encoded to prevent any abuse regardless
of the configuration.
2026-04-29 22:59:40 +02:00
Alessandro RosandGitHub 66a67188fe tests: use testing.T.TempDir rather than os.TempDir (#5709) 2026-04-29 22:47:47 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9a44fd7eaa build(deps): bump github.com/pion/interceptor from 0.1.44 to 0.1.45 (#5711)
Bumps [github.com/pion/interceptor](https://github.com/pion/interceptor) from 0.1.44 to 0.1.45.
- [Release notes](https://github.com/pion/interceptor/releases)
- [Commits](https://github.com/pion/interceptor/compare/v0.1.44...v0.1.45)

---
updated-dependencies:
- dependency-name: github.com/pion/interceptor
  dependency-version: 0.1.45
  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>
2026-04-29 22:44:47 +02:00
Alessandro RosandGitHub 744c35d93f use temporary redirects instead of permanent redirects (#5710)
this prevents unwanted caching.
2026-04-29 22:44:11 +02:00
Alessandro RosandGitHub 679925484f use cmd.Start instead of NewCmd (#5706) 2026-04-29 13:29:33 +02:00
Alessandro RosandGitHub c4fdd7c23a use cmd.Start instead of NewCmd (#5705) 2026-04-29 12:53:27 +02:00
bluenviron-botandGitHub b5091290e1 bump mediamtx-rpicamera to v2.5.6 (#5702) 2026-04-29 12:52:54 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f82f700c87 build(deps): bump code.cloudfoundry.org/bytefmt from 0.69.0 to 0.70.0 (#5704)
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt) from 0.69.0 to 0.70.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases)
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.69.0...v0.70.0)

---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
  dependency-version: 0.70.0
  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>
2026-04-29 12:50:48 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
481973d074 build(deps): bump github.com/pion/webrtc/v4 from 4.2.11 to 4.2.12 (#5703)
Bumps [github.com/pion/webrtc/v4](https://github.com/pion/webrtc) from 4.2.11 to 4.2.12.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v4.2.11...v4.2.12)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v4
  dependency-version: 4.2.12
  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>
2026-04-29 12:50:35 +02:00
Alessandro RosandGitHub 5412d71e3d docs: fix CDN tutorial (#5701) 2026-04-27 11:40:06 +02:00
Alessandro RosandGitHub 8107f7cc96 docs: update (#5699) 2026-04-26 20:48:23 +02:00
Alessandro RosandGitHub 2815930529 hls: support serving streams with a CDN (#5696) 2026-04-26 20:24:02 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3a4c7f10c1 build(deps): bump github.com/bluenviron/gohlslib/v2 from 2.2.9 to 2.3.0 (#5697)
Bumps [github.com/bluenviron/gohlslib/v2](https://github.com/bluenviron/gohlslib) from 2.2.9 to 2.3.0.
- [Commits](https://github.com/bluenviron/gohlslib/compare/v2.2.9...v2.3.0)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gohlslib/v2
  dependency-version: 2.3.0
  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>
2026-04-26 20:19:52 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5aafc68378 build(deps): bump github.com/bluenviron/gortsplib/v5 from 5.5.1 to 5.5.2 (#5698)
Bumps [github.com/bluenviron/gortsplib/v5](https://github.com/bluenviron/gortsplib) from 5.5.1 to 5.5.2.
- [Commits](https://github.com/bluenviron/gortsplib/compare/v5.5.1...v5.5.2)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/v5
  dependency-version: 5.5.2
  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>
2026-04-26 20:19:40 +02:00
Alessandro RosandGitHub 450fa3fa41 docs: add scaling page (#5695) 2026-04-26 16:33:14 +02:00
Alessandro RosandGitHub f87d9e659e hls: track sessions (#962) (#5683)
sessions are now tracked through cookies or query parameters.

This provides the ability to inspect sessions through logs, metrics and
API, allows more precise tracking of outbound bytes, decreases load on
external HTTP authentication URLs since they are now called once per
session and not once per request.
2026-04-25 21:10:34 +02:00
Alessandro RosandGitHub c4a1ba332a metrics: fix race condition when reloading configuration (#5693) 2026-04-25 18:56:55 +02:00
Alessandro RosandGitHub 519c202546 metrics: use an enum for parsing metrics type (#5692) 2026-04-25 17:27:01 +02:00
Alessandro RosandGitHub 68821502ce api: sort path readers (#5691) 2026-04-25 10:20:02 +02:00
Alessandro RosandGitHub 57671a3913 metrics: add readerType attribute to the path_readers metric (#5690)
this allows to filter path readers by type.
2026-04-25 10:12:24 +02:00
Alessandro RosandGitHub 6aa494cc15 metrics: fix filtering by type=rtmp_conns and type=rtmps_conns (#5689) 2026-04-24 23:32:39 +02:00
Alessandro RosandGitHub 87543f91dd metrics: add labels to the output (#5687)
group metrics under visible, distinct labels.
2026-04-24 23:20:49 +02:00
Alessandro RosandGitHub 91aa6d9c6d docs: remove redundant instructions (#5688) 2026-04-24 19:01:54 +02:00
Alessandro RosandGitHub 4c10d7e7c8 metrics: improve tests (#5686) 2026-04-24 18:26:54 +02:00
Alessandro RosandGitHub 43d649d791 docs: add missing metrics (#5685) 2026-04-24 17:39:34 +02:00
Alessandro RosandGitHub f1c919b429 docs: merge 'embed streams' and 'web browsers' pages (#5684) 2026-04-24 17:37:20 +02:00
Alessandro RosandGitHub cae9920f00 hls: improve muxer performance (#5660)
use a mutex instead of a channel to get current instance.
2026-04-21 20:16:36 +02:00
9e077744fd metrics: improve performance (#5663)
use string.Builder instead of string concatenation

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2026-04-21 19:37:31 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d2c0b17bcb build(deps): bump github.com/matthewhartstonge/argon2 (#5676)
Bumps [github.com/matthewhartstonge/argon2](https://github.com/matthewhartstonge/argon2) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/matthewhartstonge/argon2/releases)
- [Changelog](https://github.com/matthewhartstonge/argon2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/matthewhartstonge/argon2/compare/v1.5.1...v1.5.2)

---
updated-dependencies:
- dependency-name: github.com/matthewhartstonge/argon2
  dependency-version: 1.5.2
  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>
2026-04-21 19:24:26 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5a0d67bbc5 build(deps): bump github.com/pion/ice/v4 from 4.2.4 to 4.2.5 (#5677)
Bumps [github.com/pion/ice/v4](https://github.com/pion/ice) from 4.2.4 to 4.2.5.
- [Release notes](https://github.com/pion/ice/releases)
- [Commits](https://github.com/pion/ice/compare/v4.2.4...v4.2.5)

---
updated-dependencies:
- dependency-name: github.com/pion/ice/v4
  dependency-version: 4.2.5
  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>
2026-04-21 19:20:54 +02:00
Alessandro RosandGitHub 2589c99639 return a custom error when body size limit is exceeded (#5675) 2026-04-21 19:00:30 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
690905e4be build(deps): bump github.com/pion/ice/v4 from 4.2.2 to 4.2.4 (#5666)
Bumps [github.com/pion/ice/v4](https://github.com/pion/ice) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/pion/ice/releases)
- [Commits](https://github.com/pion/ice/compare/v4.2.2...v4.2.4)

---
updated-dependencies:
- dependency-name: github.com/pion/ice/v4
  dependency-version: 4.2.4
  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>
2026-04-19 22:00:13 +02:00
bluenviron-botandGitHub 4d3026c914 bump hls.js to v1.6.16 (#5665) 2026-04-19 21:41:47 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e17489c528 build(deps): bump code.cloudfoundry.org/bytefmt from 0.68.0 to 0.69.0 (#5667)
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt) from 0.68.0 to 0.69.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases)
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.68.0...v0.69.0)

---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
  dependency-version: 0.69.0
  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>
2026-04-19 21:41:05 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d8e98b20e3 build(deps): bump github.com/go-git/go-git/v5 from 5.17.2 to 5.18.0 (#5673)
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.17.2 to 5.18.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.17.2...v5.18.0)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-version: 5.18.0
  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>
2026-04-19 21:40:58 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11a3d3eaee build(deps): bump actions/github-script from 8 to 9 (#5662)
Bumps [actions/github-script](https://github.com/actions/github-script) from 8 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-19 21:40:50 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2f2bc303a8 build(deps): bump golang.org/x/net from 0.52.0 to 0.53.0 (#5661)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.52.0 to 0.53.0.
- [Commits](https://github.com/golang/net/compare/v0.52.0...v0.53.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.53.0
  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>
2026-04-19 21:40:38 +02:00
Alessandro RosandGitHub caeccdceff prevent out-of-memory errors (#5674)
impose a maximum size on body of incoming HTTP requests and responses.
2026-04-19 21:39:08 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3c7c45efa4 build(deps): bump golang.org/x/crypto from 0.49.0 to 0.50.0 (#5658)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.49.0 to 0.50.0.
- [Commits](https://github.com/golang/crypto/compare/v0.49.0...v0.50.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.50.0
  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>
2026-04-09 19:28:06 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2be051afea build(deps): bump golang.org/x/term from 0.41.0 to 0.42.0 (#5659)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.41.0 to 0.42.0.
- [Commits](https://github.com/golang/term/compare/v0.41.0...v0.42.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.42.0
  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>
2026-04-09 19:28:04 +02:00
Alessandro RosandGitHub 67caaea4fe playback: return errors as JSON (#5656)
this is aligned with all other HTTP-based services.
2026-04-09 17:11:03 +02:00