Commit graph

2550 commits

Author SHA1 Message Date
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
github-actions[bot]
ba2a29322b
bump mediamtx-rpicamera to v2.4.1 (#4488)
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: mediamtx-bot <bot@mediamtx>
2025-05-04 18:47:37 +02:00
dependabot[bot]
f1a2880bae
build(deps): bump github.com/bluenviron/gortsplib/v4 (#4487)
Bumps [github.com/bluenviron/gortsplib/v4](https://github.com/bluenviron/gortsplib) from 4.13.1 to 4.14.0.
- [Commits](https://github.com/bluenviron/gortsplib/compare/v4.13.1...v4.14.0)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/v4
  dependency-version: 4.14.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-04 17:21:34 +02:00
Alessandro Ros
15fff95246
ensure unmarshaled entities can be marshaled back (#4484) 2025-05-04 11:34:05 +02:00
Alessandro Ros
56234a5fed
fix recordPath documentation (#4480)
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-01 23:27:04 +02:00
Alessandro Ros
d61994eeae
rpi: fix using camera when /usr/sbin is not in PATH (#4479) 2025-05-01 19:04:01 +02:00
Alessandro Ros
e83239fd0d
rpi: fix missing clock rate in secondary stream (#4476) (#4478)
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-01 15:14:04 +02:00
dependabot[bot]
7029606a04
build(deps): bump code.cloudfoundry.org/bytefmt from 0.38.0 to 0.39.0 (#4475)
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-04-29 20:57:16 +02:00
Alessandro Ros
fd59060633
remove v8 suffix from arm64 binaries (#4472)
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-04-28 23:54:45 +02:00
Alessandro Ros
9b619175b4
support customizing official Docker images (#4471) 2025-04-28 23:49:55 +02:00
Alessandro Ros
a0f5315549
support filtering interface and source IP in UDP sources (#4178) (#4464) 2025-04-28 22:22:55 +02:00
Alessandro Ros
a348007607
support parsing JWT claims encoded as strings (#3696) (#4465) 2025-04-28 22:22:42 +02:00
dependabot[bot]
bedb419ae0
build(deps): bump github.com/pion/rtp from 1.8.13 to 1.8.15 (#4470)
Bumps [github.com/pion/rtp](https://github.com/pion/rtp) from 1.8.13 to 1.8.15.
- [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.13...v1.8.15)

---
updated-dependencies:
- dependency-name: github.com/pion/rtp
  dependency-version: 1.8.15
  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-04-28 20:49:28 +02:00
Dimitri Marechal
1827e062bd
add authJWTExclude to exclude actions when using JWT (#3431)
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
* Added authJWTExclude to allow exclusion of actions while using the JWT authentication method

* add test

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-04-25 19:55:11 +02:00
dependabot[bot]
d8e6be6fe8
build(deps): bump github.com/matthewhartstonge/argon2 (#4462)
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-04-23 21:04:01 +02:00
dependabot[bot]
77aefb938a
build(deps): bump code.cloudfoundry.org/bytefmt from 0.37.0 to 0.38.0 (#4461)
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-04-22 23:35:08 +02:00
Alessandro Ros
77c77c7f2f
webrtc: prevent payload type conflict in read page (#4456)
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-04-21 15:24:01 +02:00
Alessandro Ros
0c501e2507
webrtc: improve JavaScript classes (#4455)
* add close() method

* move support functions into classes as static methods

* convert arrow functions into standard functions

* make most methods private

* add JSDocs
2025-04-21 15:01:46 +02:00
Xiaobo Liu
44aa4ba50f
webrtc: simplify webrtcTurnSecretExpiration (#4453) 2025-04-21 14:21:45 +02:00
dependabot[bot]
5a29f9147b
build(deps): bump github.com/bluenviron/gortsplib/v4 (#4442)
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-04-17 20:33:57 +02:00