Commit graph

2924 commits

Author SHA1 Message Date
Alessandro Ros
8a4f2f5f3f
simplify configuration definitions (#5376)
Some checks failed
code_lint / go (push) Has been cancelled
code_lint / go_mod (push) Has been cancelled
code_lint / docs (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
2026-01-25 20:24:41 +01:00
Alessandro Ros
a4561a8339
prevent setting slices to null (#5375)
In Golang, slices can be set to nil, while in most other languages they
cannot. This causes compatibility issues, especially because the
OpenAPI definition of the API does not allow slices to be nil. This
prevents slices from being set to nil through JSON/YAML, and
also sets default slices to an empty list instead of nil.
2026-01-25 19:49:39 +01:00
Alessandro Ros
46b4293e35
api: improve openapi definition (#5380)
add uint64, uint, uuid, move WebRTCICEServer into dedicated schema
2026-01-25 19:35:43 +01:00
Alessandro Ros
1a53e40bdc
switch to reflect.Pointer (#5377) 2026-01-25 13:51:49 +01:00
Alessandro Ros
719ca2ae39
fix panic with environment variables (#5374)
Some checks are pending
code_lint / go (push) Waiting to run
code_lint / go_mod (push) Waiting to run
code_lint / docs (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
this happened when loading deprecated slices of structs with
environment variables.
2026-01-25 10:27:36 +01:00
Alessandro Ros
40cb857dd9
prevent setting empty usernames with environment variables (#5373)
Some checks are pending
code_lint / go (push) Waiting to run
code_lint / go_mod (push) Waiting to run
code_lint / docs (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2026-01-24 19:44:17 +01:00
Alessandro Ros
0d95459f7b
fix overriding default user with environment variables (#5371)
MTX_AUTHINTERNALUSERS_0_USER and MTX_AUTHINTERNALUSERS_0_PASS are now working even when the configuration file is present.
2026-01-24 19:38:59 +01:00
Alessandro Ros
f4f795a2a6
simplify configuration parsing (#5372)
work around golang/go#21092 globally
2026-01-24 19:33:47 +01:00
Roger Hardiman
0d11156c6e
fix typos in documentation (#5370) 2026-01-24 15:32:31 +01:00
Alessandro Ros
e2ac32177b
prevent several configuration errors (#5368)
Some checks failed
code_lint / go (push) Has been cancelled
code_lint / go_mod (push) Has been cancelled
code_lint / docs (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
2026-01-22 19:35:44 +01:00
Alessandro Ros
a9bc4f90c2
rtsp: fix log labels of RTSPS listeners (#5367)
use "TCP/RTSPS", "UDP/SRTP", "UDP/SRTCP" to refer to secure listeners
2026-01-22 19:13:54 +01:00
dependabot[bot]
aa6dc4ea9f
build(deps): bump github.com/pion/webrtc/v4 from 4.2.1 to 4.2.3 (#5341)
Some checks failed
code_lint / go (push) Has been cancelled
code_lint / go_mod (push) Has been cancelled
code_lint / docs (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2026-01-20 18:21:05 +01:00
dependabot[bot]
f60df3b378
build(deps): bump code.cloudfoundry.org/bytefmt from 0.61.0 to 0.62.0 (#5361)
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt) from 0.61.0 to 0.62.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases)
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.61.0...v0.62.0)

---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
  dependency-version: 0.62.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-01-20 18:10:30 +01:00
Alessandro Ros
3998ceb88f
webrtc: print incoming data channel messages (#5357) 2026-01-20 16:18:13 +01:00
Alessandro Ros
02fe2e2b42
tests: fix race condition (#5354)
Some checks failed
code_lint / go (push) Has been cancelled
code_lint / go_mod (push) Has been cancelled
code_lint / docs (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
2026-01-17 23:21:34 +01:00
Yaroslav Molochko
8901ac4e9c
webrtc: support reading KLV tracks (#4722)
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2026-01-16 23:40:21 +01:00
Alessandro Ros
653d10fb75
use the same filtering process for every codec (#5324)
this allows to apply features that were previously implemented for
single codecs (like RTP packet resizing), to any codec, and simplifies
future development.
2026-01-16 14:03:13 +01:00
Alessandro Ros
2109ade5b4
improve readability of issues with config (#5353) 2026-01-16 13:20:07 +01:00
bluenviron-bot
320bd3f4ae
bump golangci-lint to 2.8.0 (#5350) 2026-01-15 22:43:32 +01:00
dependabot[bot]
4529de48dd
build(deps): bump code.cloudfoundry.org/bytefmt from 0.60.0 to 0.61.0 (#5344)
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt) from 0.60.0 to 0.61.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases)
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.60.0...v0.61.0)

---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
  dependency-version: 0.61.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-01-15 15:16:33 +01:00
dependabot[bot]
c14fe77897
build(deps): bump github.com/pion/interceptor from 0.1.42 to 0.1.43 (#5331)
Bumps [github.com/pion/interceptor](https://github.com/pion/interceptor) from 0.1.42 to 0.1.43.
- [Release notes](https://github.com/pion/interceptor/releases)
- [Commits](https://github.com/pion/interceptor/compare/v0.1.42...v0.1.43)

---
updated-dependencies:
- dependency-name: github.com/pion/interceptor
  dependency-version: 0.1.43
  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-01-13 09:40:28 +01:00
dependabot[bot]
6f50a3ddaf
build(deps): bump golang.org/x/crypto from 0.46.0 to 0.47.0 (#5340) 2026-01-13 09:01:48 +01:00
Alessandro Ros
e4c60e1e62
tests: fix race condition (#5338) 2026-01-12 21:46:48 +01:00
Alessandro Ros
bac9060368
link Github Actions badges to the main branch (#5337) 2026-01-12 20:27:38 +01:00
dependabot[bot]
b3a5574e05
build(deps): bump golang.org/x/sys from 0.39.0 to 0.40.0 (#5328)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/sys/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.40.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-01-11 22:36:03 +01:00
dependabot[bot]
a76d40da6e
build(deps): bump github.com/pion/rtp from 1.9.0 to 1.10.0 (#5329)
Bumps [github.com/pion/rtp](https://github.com/pion/rtp) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/pion/rtp/releases)
- [Commits](https://github.com/pion/rtp/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/pion/rtp
  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-01-11 22:33:23 +01:00
bluenviron-bot
cb301c939b
bump golangci-lint to 2.8.0 (#5326)
Some checks failed
code_lint / go (push) Has been cancelled
code_lint / go_mod (push) Has been cancelled
code_lint / docs (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
2026-01-11 00:48:54 +01:00
dependabot[bot]
6acf9f1d2b
build(deps): bump code.cloudfoundry.org/bytefmt from 0.59.0 to 0.60.0 (#5322)
Some checks failed
code_lint / go (push) Has been cancelled
code_lint / go_mod (push) Has been cancelled
code_lint / docs (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt) from 0.59.0 to 0.60.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases)
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.59.0...v0.60.0)

---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
  dependency-version: 0.60.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-01-06 21:48:47 +01:00
Alessandro Ros
eba3b828a6
print last processing error (#5323) 2026-01-06 21:48:36 +01:00
Alessandro Ros
cd34de8770
print last decode error (#5319)
Some checks failed
code_lint / go (push) Has been cancelled
code_lint / go_mod (push) Has been cancelled
code_lint / docs (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
decode errors are still grouped together, but the last one is now
printed.
2026-01-05 15:28:24 +01:00
Alessandro Ros
1d9b2ff7ea
tests: fix race condition (#5316)
Some checks are pending
code_lint / go (push) Waiting to run
code_lint / go_mod (push) Waiting to run
code_lint / docs (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2026-01-04 16:27:12 +01:00
Alessandro Ros
9cb64d98ac
print OS and Arch in first log line (#5315)
Some checks failed
code_lint / go (push) Has been cancelled
code_lint / go_mod (push) Has been cancelled
code_lint / docs (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
2026-01-01 22:59:39 +01:00
Alessandro Ros
0a01bf4ec8
rpi: advertise support for Raspberry Pi OS Trixie (#5312) 2026-01-01 22:58:47 +01:00
Alessandro Ros
099a1829dd
move away from balenalib Docker images (#5313) 2026-01-01 22:52:39 +01:00
Alessandro Ros
a148f5a546
simplify code (#5314) 2026-01-01 22:47:59 +01:00
Alessandro Ros
b9adbc3e09
remove redundant check (#5311) 2026-01-01 22:47:03 +01:00
Alessandro Ros
19d3a9c80d
remove redundant code (#5310) 2026-01-01 20:51:40 +01:00
Alessandro Ros
b2af5defd0
tests: fix race condition (#5309) 2026-01-01 20:00:27 +01:00
dependabot[bot]
62effa79ef
build(deps): bump github.com/bluenviron/gortmplib from 0.1.2 to 0.2.0 (#5300)
Some checks failed
code_lint / go (push) Has been cancelled
code_lint / go_mod (push) Has been cancelled
code_lint / docs (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
Bumps [github.com/bluenviron/gortmplib](https://github.com/bluenviron/gortmplib) from 0.1.2 to 0.2.0.
- [Commits](https://github.com/bluenviron/gortmplib/compare/v0.1.2...v0.2.0)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortmplib
  dependency-version: 0.2.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>
2025-12-28 17:29:27 +01:00
dependabot[bot]
174618f3f3
build(deps): bump github.com/bluenviron/gortsplib/v5 from 5.2.1 to 5.2.2 (#5299)
Bumps [github.com/bluenviron/gortsplib/v5](https://github.com/bluenviron/gortsplib) from 5.2.1 to 5.2.2.
- [Commits](https://github.com/bluenviron/gortsplib/compare/v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/v5
  dependency-version: 5.2.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>
2025-12-28 16:37:30 +01:00
Alessandro Ros
5c67b2f08b
tests: fix race condition (#5301) 2025-12-28 16:36:54 +01:00
dependabot[bot]
f843df4ab8
build(deps): bump github.com/bluenviron/mediacommon/v2 (#5297)
Bumps [github.com/bluenviron/mediacommon/v2](https://github.com/bluenviron/mediacommon) from 2.5.3 to 2.6.0.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v2.5.3...v2.6.0)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/mediacommon/v2
  dependency-version: 2.6.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>
2025-12-28 15:44:36 +01:00
dependabot[bot]
d03b967a1b
build(deps): bump github.com/pion/rtp from 1.8.27 to 1.9.0 (#5298)
Some checks are pending
code_lint / go (push) Waiting to run
code_lint / go_mod (push) Waiting to run
code_lint / docs (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
Bumps [github.com/pion/rtp](https://github.com/pion/rtp) from 1.8.27 to 1.9.0.
- [Release notes](https://github.com/pion/rtp/releases)
- [Commits](https://github.com/pion/rtp/compare/v1.8.27...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/pion/rtp
  dependency-version: 1.9.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>
2025-12-28 00:35:48 +01:00
Eugene Marushchenko
9e9fae9a10
add structured logging (#5219)
Some checks are pending
code_lint / go (push) Waiting to run
code_lint / go_mod (push) Waiting to run
code_lint / docs (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-12-27 20:42:06 +01:00
Alessandro Ros
3692b2448a
set syslog priority and do not write level and date to syslog (#4923) (#5296)
Some checks are pending
code_lint / go (push) Waiting to run
code_lint / go_mod (push) Waiting to run
code_lint / docs (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
When writing log entries to syslog, pass the level (WARN, INFO, etc)
directly to syslog. Avoid writing level and date. This provides a
better integration and allows to use syslog search tools.
2025-12-27 14:06:26 +01:00
dependabot[bot]
d9917feb76
build(deps): bump github.com/pion/webrtc/v4 from 4.1.8 to 4.2.1 (#5290)
Bumps [github.com/pion/webrtc/v4](https://github.com/pion/webrtc) from 4.1.8 to 4.2.1.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v4.1.8...v4.2.1)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v4
  dependency-version: 4.2.1
  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>
2025-12-27 14:00:25 +01:00
Alessandro Ros
ea4c4f1fbb
disable syslog logging on macOS (#5005) (#5295) 2025-12-27 13:59:33 +01:00
Alessandro Ros
20e7f1db75
docs: improve (#5277) 2025-12-27 13:55:13 +01:00
dependabot[bot]
6407721807
build(deps): bump github.com/pion/sdp/v3 from 3.0.16 to 3.0.17 (#5287)
Some checks failed
code_lint / go (push) Has been cancelled
code_lint / go_mod (push) Has been cancelled
code_lint / docs (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
Bumps [github.com/pion/sdp/v3](https://github.com/pion/sdp) from 3.0.16 to 3.0.17.
- [Release notes](https://github.com/pion/sdp/releases)
- [Commits](https://github.com/pion/sdp/compare/v3.0.16...v3.0.17)

---
updated-dependencies:
- dependency-name: github.com/pion/sdp/v3
  dependency-version: 3.0.17
  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>
2025-12-24 21:01:16 +01:00
dependabot[bot]
a93f9a290f
build(deps): bump code.cloudfoundry.org/bytefmt from 0.58.0 to 0.59.0 (#5286)
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt) from 0.58.0 to 0.59.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases)
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.58.0...v0.59.0)

---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
  dependency-version: 0.59.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>
2025-12-24 20:51:34 +01:00