Commit graph

2569 commits

Author SHA1 Message Date
github-actions[bot]
eeee743d6c
bump hls.js to v1.6.4 (#4586)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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-05-31 09:48:14 +02:00
github-actions[bot]
945b6d5cb3
bump hls.js to v1.6.3 (#4584)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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-05-30 09:17:15 +02:00
Alessandro Ros
189c99d5fc
improve tests (#4581)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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-05-29 20:37:44 +02:00
Alessandro Ros
402b8ff9c9
recorder, playback: support changing codec parameters without switching segment (#4262) (#4582) 2025-05-29 20:37:12 +02:00
dependabot[bot]
7420280802
build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.3.11 to 3.4.0 (#4575)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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-05-28 20:13:31 +02:00
dependabot[bot]
bcebc4d2ef
build(deps): bump github.com/bluenviron/gohlslib/v2 from 2.1.4 to 2.1.5 (#4571)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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/bluenviron/gohlslib/v2](https://github.com/bluenviron/gohlslib) from 2.1.4 to 2.1.5.
- [Commits](https://github.com/bluenviron/gohlslib/compare/v2.1.4...v2.1.5)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gohlslib/v2
  dependency-version: 2.1.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>
2025-05-27 22:33:10 +02:00
dependabot[bot]
b4b7b797b7
build(deps): bump github.com/bluenviron/gortsplib/v4 (#4570)
Bumps [github.com/bluenviron/gortsplib/v4](https://github.com/bluenviron/gortsplib) from 4.14.0 to 4.14.1.
- [Commits](https://github.com/bluenviron/gortsplib/compare/v4.14.0...v4.14.1)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/v4
  dependency-version: 4.14.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>
2025-05-27 22:27:06 +02:00
Alessandro Ros
65045c676f
stop updating legacy Docker image (#4569) 2025-05-27 22:10:48 +02:00
Alessandro Ros
adf6ca9f90
delete paths that belong to a new configuration (#4013) (#4568)
when a new configuration is pushed with either API or hot reloading,
the server now checks whether existing paths belong to a new
configuration. If they do, these paths are deleted.
2025-05-27 22:02:37 +02:00
Evan Wilson
631116d5ce
srt: set source not ready when reader exits (#4467) 2025-05-27 22:00:46 +02:00
dependabot[bot]
5b000132a7
build(deps): bump github.com/pion/rtp from 1.8.15 to 1.8.16 (#4567)
Bumps [github.com/pion/rtp](https://github.com/pion/rtp) from 1.8.15 to 1.8.16.
- [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.15...v1.8.16)

---
updated-dependencies:
- dependency-name: github.com/pion/rtp
  dependency-version: 1.8.16
  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-05-27 20:54:21 +02:00
Alessandro Ros
99f4c73e07
recorder: improve fMP4 splitting algorithm (#4566)
consider all tracks when deciding the splitting point.
2025-05-27 19:19:55 +02:00
Alessandro Ros
e799286f1c
recorder: fix segment duration when audio is in advance (#4563) 2025-05-27 15:28:30 +02:00
Alessandro Ros
7b977861ff
recorder: fix duration of first part of a segment (#4562)
when the first sample of the first part had a DTS different than the
start DTS of the segment, the starting DTS of the part was wrong, since
it was set to the segment start DTS.
2025-05-27 15:24:24 +02:00
Alessandro Ros
823697210e
webrtc: fix race condition after #4558 (#4564) 2025-05-27 15:17:31 +02:00
Alessandro Ros
5d203b4d98
webrtc: prevent routine leaks (#4558)
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (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
wait for all routines to exit before assuming a WebRTC connection is closed.
2025-05-26 11:33:46 +02:00
Alessandro Ros
5d4653ba4e
rtsp: fix authentication regression (#4557)
since #4267 it was impossible to perform authentication when protocol
is RTSP and credentials are hashed.
2025-05-26 11:08:27 +02:00
Tarık Erkan
e6a7a87c7f
Fix: gracefully handle fMP4 segments with missing or partial moof/mdat (#4538)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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-05-25 21:29:53 +02:00
Alessandro Ros
fff3b9b315
record: fix loss of audio samples during segment switch (#4556) 2025-05-25 21:29:33 +02:00
Alessandro Ros
01e6fedc36
playback: fix jerky video (#4555)
this happened when recording has B-frames, playback format is fmp4 and starting position doesn't correspond to a IDR frame.
2025-05-25 21:09:23 +02:00
Alessandro Ros
9a3bbda8f8
playback: fix error 404 when seeking before start of segment (#4276) (#4533) (#4539)
Fixes #4276
Replaces #4533
2025-05-25 18:50:19 +02:00
dependabot[bot]
6c8bf4f3d4
build(deps): bump github.com/pion/interceptor from 0.1.37 to 0.1.38 (#4553)
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (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/interceptor](https://github.com/pion/interceptor) from 0.1.37 to 0.1.38.
- [Release notes](https://github.com/pion/interceptor/releases)
- [Changelog](https://github.com/pion/interceptor/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/interceptor/compare/v0.1.37...v0.1.38)

---
updated-dependencies:
- dependency-name: github.com/pion/interceptor
  dependency-version: 0.1.38
  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-05-23 19:47:45 +02:00
dependabot[bot]
930071d65a
build(deps): bump github.com/pion/sdp/v3 from 3.0.12 to 3.0.13 (#4552)
Bumps [github.com/pion/sdp/v3](https://github.com/pion/sdp) from 3.0.12 to 3.0.13.
- [Release notes](https://github.com/pion/sdp/releases)
- [Changelog](https://github.com/pion/sdp/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/sdp/compare/v3.0.12...v3.0.13)

---
updated-dependencies:
- dependency-name: github.com/pion/sdp/v3
  dependency-version: 3.0.13
  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-05-23 19:47:35 +02:00
Alessandro Ros
d021e93d71
bump Golang to 1.24 (#4297) 2025-05-23 15:16:15 +02:00
Alessandro Ros
fad64a87bd
bump golangci-lint (#4550) 2025-05-23 15:10:21 +02:00
Alessandro Ros
e707a9237d
improve tests, documentation (#4549) 2025-05-23 13:25:17 +02:00
dependabot[bot]
6d9052c85d
build(deps): bump github.com/gin-gonic/gin from 1.10.0 to 1.10.1 (#4543)
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (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-05-21 10:20:21 +02:00
dependabot[bot]
a5a788fdcd
build(deps): bump github.com/MicahParks/jwkset from 0.9.5 to 0.9.6 (#4542) 2025-05-21 10:19:57 +02:00
dependabot[bot]
d94d6eba3c
build(deps): bump github.com/pion/sdp/v3 from 3.0.11 to 3.0.12 (#4541) 2025-05-21 10:19:44 +02:00
dependabot[bot]
2c9e5802ca
build(deps): bump github.com/alecthomas/kong from 1.10.0 to 1.11.0 (#4532)
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (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-05-15 21:23:28 +02:00
Alessandro Ros
1b9dfbd367
rtmp: support connecting to sources that require standard credentials (#4530)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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-05-15 14:23:03 +02:00
Alessandro Ros
b48a0098d3
change recommended OBS settings (#4523)
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (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-05-12 22:15:26 +02:00
Alessandro Ros
3b3b898358
fix error message (#4522) 2025-05-12 22:10:13 +02:00
Alessandro Ros
e0ad33320e
update docs (#4520)
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (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-05-11 11:20:03 +02:00
Alessandro Ros
5013d585fc
allow using colon in path names (#4377) (#4519) 2025-05-11 10:55:14 +02:00
Alessandro Ros
74bfb988d7
allow disabling JWT in HTTP query parameters (#4518) 2025-05-11 10:21:08 +02:00
Alessandro Ros
c17a6de2a6
parse HTTP username and password OR token, not both (#4517) 2025-05-11 10:20:57 +02:00
Alessandro Ros
f97213ae6e
support passing JWTs through the password field (#4516)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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 is safer than passing JWTs through query parameters, unfortunately support is limited.
2025-05-10 22:54:24 +02:00
Alessandro Ros
c8348db52d
rename jwtRefresh into jwksRefresh (#4515)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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-05-10 21:14:20 +02:00
Alessandro Ros
d3976fbc15
do not ask for credentials when authentication method is JWT (#4450) (#4513) 2025-05-10 16:20:22 +02:00
Alessandro Ros
db3c2f8cae
add authJWTJWKSFingerprint (#4409) (#4514) 2025-05-10 16:12:35 +02:00
Alessandro Ros
a85d8f1391
rtmp: fix connect command when reading (#4512)
when reading, the "connect" command should not contain fpad,
capabilities, audioCodecs, videoCodecs, videoFunction.
2025-05-10 15:26:48 +02:00
github-actions[bot]
fd0f08e94a
bump mediamtx-rpicamera to v2.4.2 (#4511)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2025-05-10 14:45:25 +02:00
Dan Nicholls
7360981aa7
Feat: Add JWKS rotation API endpoint (#4463)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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-05-10 13:44:02 +02:00
Alessandro Ros
defee1eed9
hls: fix toggling hlsAlwaysRemux after server is started (#4503)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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 hlsAlwaysRemux was switched from false to true, through API or hot
reloading, muxers of existing paths were not created. This fixes the
issue.
2025-05-09 22:50:11 +02:00
dependabot[bot]
84ed7a5f3b
build(deps): bump github.com/matthewhartstonge/argon2 (#4498)
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (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/matthewhartstonge/argon2](https://github.com/matthewhartstonge/argon2) from 1.3.0 to 1.3.1.
- [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.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: github.com/matthewhartstonge/argon2
  dependency-version: 1.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>
2025-05-06 20:21:16 +02:00
dependabot[bot]
86826fea50
build(deps): bump code.cloudfoundry.org/bytefmt from 0.39.0 to 0.40.0 (#4496)
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases)
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
  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>
2025-05-06 20:01:17 +02:00
Alessandro Ros
de46a288ac
rpi: fix regression in RPI Docker image (#4494) (#4495) 2025-05-06 17:25:22 +02:00
dependabot[bot]
ad15b4960c
build(deps): bump golang.org/x/sys from 0.32.0 to 0.33.0 (#4493)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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-05-06 07:29:35 +02:00
Alessandro Ros
66f36d9663
fix getting version when using make binaries (#4489)
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (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-05-04 20:18:45 +02:00