Alessandro Ros
8a4f2f5f3f
simplify configuration definitions ( #5376 )
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 )
...
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 )
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
Alessandro Ros
e2ac32177b
prevent several configuration errors ( #5368 )
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 )
...
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
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 )
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
bluenviron-bot
320bd3f4ae
bump golangci-lint to 2.8.0 ( #5350 )
2026-01-15 22:43:32 +01:00
Alessandro Ros
e4c60e1e62
tests: fix race condition ( #5338 )
2026-01-12 21:46:48 +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 )
...
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 )
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 )
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
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 )
...
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
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
Eugene Marushchenko
9e9fae9a10
add structured logging ( #5219 )
...
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 )
...
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
Alessandro Ros
ea4c4f1fbb
disable syslog logging on macOS ( #5005 ) ( #5295 )
2025-12-27 13:59:33 +01:00
Alessandro Ros
1704fba5e9
rtsp: avoid setupping back channels ( #5074 ) ( #5289 )
2025-12-24 20:44:56 +01:00
Alessandro Ros
55f93eddde
rtsp: call rtsp.ToStream before advertising the stream ( #5288 )
2025-12-24 20:37:01 +01:00
Alessandro Ros
9e82b5233d
fix 1-minute offset when recording a H264 WebRTC track ( #5275 ) ( #5278 )
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
2025-12-19 13:32:14 +01:00
Alessandro Ros
834b079b78
rtsp: fix crash when setupping tracks between stream changes ( #5253 ) ( #5257 )
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
2025-12-07 11:38:52 +01:00
dependabot[bot]
66c7519e12
build(deps): bump github.com/bluenviron/gortmplib from 0.1.1 to 0.1.2 ( #5254 )
...
Bumps [github.com/bluenviron/gortmplib](https://github.com/bluenviron/gortmplib ) from 0.1.1 to 0.1.2.
- [Commits](https://github.com/bluenviron/gortmplib/compare/v0.1.1...v0.1.2 )
---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortmplib
dependency-version: 0.1.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-07 10:56:32 +01:00
Alessandro Ros
3de05c1330
api: always reply with JSON in case of success or failure ( #5252 )
...
Reply with "status": "ok" in case of success, and with "status":
"error" in case of error. This makes the API more accessible and user
friendly.
2025-12-07 10:37:55 +01:00
Alessandro Ros
a0a75dfab6
fix panic when changing log file to a nonexisting directory ( #5132 ) ( #5249 )
2025-12-06 22:51:25 +01:00
Alessandro Ros
8d3c4074d8
api: split implementation into multiple files ( #5251 )
2025-12-06 22:50:06 +01:00
Alessandro Ros
0139105583
playback: fix crash ( #5240 ) ( #5250 )
...
when requesting a recording with the mp4 format, if there are two
tracks and the second track has no sample, the server crashed. This
fixes the issue.
2025-12-06 22:45:50 +01:00
Alessandro Ros
fb9027a334
recorder: reset when absolute time drifts from stream time ( #4778 ) ( #5239 )
...
the server now detects when system time changes too much and restarts
recordings when that happens.
2025-12-02 18:10:23 +01:00
Alessandro Ros
9c5930464f
playback: support concatenating segments with long gaps ( #5172 )
...
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
Thanks to the new mtxi MP4 box, it's possible to check whether two
segments are consecutive without involving dates or timestamps.
When the new mtxi box is present in both segments, do not check if
the end of the first segment corresponds to the start of the
second segment.
2025-12-01 21:27:08 +01:00
boenshao
b4e4f54729
test: fix and assert that all tracks are recorded ( #5166 )
...
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
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-11-23 00:41:55 +01:00
Omar Ferro
e168d2f3f4
apidocs: fix compatibility with OpenAPI 3.0 ( #5210 )
...
double-precision numbers are now represented as double.
2025-11-22 23:05:08 +01:00
bluenviron-bot
0c773c5875
bump hls.js to v1.6.15 ( #5216 )
2025-11-21 02:08:53 +01:00
KHuynh
ade0cddeb3
support multiple CORS origins ( #5150 )
...
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-11-21 02:00:46 +01:00
dependabot[bot]
4b80f5fbf5
build(deps): bump github.com/pion/rtp from 1.8.23 to 1.8.25 ( #5138 )
...
Bumps [github.com/pion/rtp](https://github.com/pion/rtp ) from 1.8.23 to 1.8.25.
- [Release notes](https://github.com/pion/rtp/releases )
- [Changelog](https://github.com/pion/rtp/blob/master/.goreleaser.yml )
- [Commits](https://github.com/pion/rtp/compare/v1.8.23...v1.8.25 )
---
updated-dependencies:
- dependency-name: github.com/pion/rtp
dependency-version: 1.8.25
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-11-18 04:12:41 +01:00
Alessandro Ros
3f599d236f
rtp: reorder packets before ingestion ( #5194 )
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
2025-11-14 17:19:48 +01:00
Alessandro Ros
2d02ca0df7
webrtc: use rtpReceiver and rtpSender to count packets ( #5193 )
2025-11-14 17:10:50 +01:00
Alessandro Ros
d02fb4ed8e
move constant ( #5190 )
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
2025-11-12 18:09:53 +01:00