Commit graph

2326 commits

Author SHA1 Message Date
dependabot[bot]
82409e2ced
build(deps): bump golang.org/x/term from 0.26.0 to 0.27.0 (#4016)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/term/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  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>
2024-12-04 21:21:32 +01:00
Alessandro Ros
39f509280c
update readme (#4010)
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_highlevel (push) Has been cancelled
2024-12-03 20:09:06 +01:00
dependabot[bot]
64d26b0d40
build(deps): bump github.com/alecthomas/kong from 1.4.0 to 1.5.1 (#4008) 2024-12-03 18:41:56 +01:00
dependabot[bot]
06dbf6734e
build(deps): bump github.com/bluenviron/gortsplib/v4 (#4007) 2024-12-03 18:41:41 +01:00
github-actions[bot]
212382ed2f
bump mediamtx-rpicamera to v2.3.6 (#4004)
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_highlevel (push) Waiting to run
2024-12-03 07:59:45 +01:00
Alessandro Ros
72a8b3ca8a
webrtc: support publishing and reading H265 tracks (#4003)
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_highlevel (push) Waiting to run
2024-12-02 23:55:54 +01:00
Alessandro Ros
235fd27dce
rpicamera: fix restarting camera when component crashes (#3997)
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_highlevel (push) Has been cancelled
2024-11-30 18:58:33 +01:00
Alessandro Ros
e6fa56dd06
rpicamera: fix restarting stream in case of disconnections or driver errors (#3988)
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_highlevel (push) Waiting to run
2024-11-30 11:25:31 +01:00
Alessandro Ros
b77df43536
fix crash when recording a stream with unsupported tracks (#3978) (#3996)
* normalize variable names

* fix file name

* fix crash when recording a stream with unsupported tracks (#3978)
2024-11-30 11:23:41 +01:00
dependabot[bot]
bdc051c6b7
build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#3979)
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_highlevel (push) Has been cancelled
2024-11-26 13:18:57 +01:00
dependabot[bot]
308b7a91d9
build(deps): bump github.com/matthewhartstonge/argon2 (#3950)
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_highlevel (push) Has been cancelled
Bumps [github.com/matthewhartstonge/argon2](https://github.com/matthewhartstonge/argon2) from 1.0.1 to 1.0.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.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: github.com/matthewhartstonge/argon2
  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>
2024-11-24 14:25:09 +01:00
dependabot[bot]
d9ae045253
build(deps): bump github.com/gin-contrib/pprof from 1.5.0 to 1.5.1 (#3955)
Bumps [github.com/gin-contrib/pprof](https://github.com/gin-contrib/pprof) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/gin-contrib/pprof/releases)
- [Changelog](https://github.com/gin-contrib/pprof/blob/master/.goreleaser.yaml)
- [Commits](https://github.com/gin-contrib/pprof/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: github.com/gin-contrib/pprof
  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>
2024-11-24 14:25:01 +01:00
dependabot[bot]
b7763454a9
build(deps): bump golang.org/x/term from 0.25.0 to 0.26.0 (#3947)
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_highlevel (push) Has been cancelled
2024-11-08 20:04:59 +01:00
dependabot[bot]
df7c596b03
build(deps): bump golang.org/x/crypto from 0.28.0 to 0.29.0 (#3946) 2024-11-08 20:04:46 +01:00
dependabot[bot]
b224b82a8b
build(deps): bump golang.org/x/sys from 0.26.0 to 0.27.0 (#3948) 2024-11-08 19:58:56 +01:00
dependabot[bot]
c76a5fae27
build(deps): bump github.com/alecthomas/kong from 1.3.0 to 1.4.0 (#3940)
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_highlevel (push) Has been cancelled
Bumps [github.com/alecthomas/kong](https://github.com/alecthomas/kong) from 1.3.0 to 1.4.0.
- [Commits](https://github.com/alecthomas/kong/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/kong
  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>
2024-11-06 20:39:34 +01:00
Alessandro Ros
71187bc430
remove redundant curly brackets (#3938)
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_highlevel (push) Waiting to run
2024-11-06 15:17:07 +01:00
Johnny Arcitec
426e6f89a2
improve unsafe path handling (#3927)
* fix: improve unsafe path handling

Paths containing spaces or dashes were being interpreted as separate options, since the path handling lacked double quotes.

This fixes all unsafe instances of "PWD" and "HOME", along with all other unsafe paths in the scripts.

* readme: explicitly mount the configuration as read-only

This clearly shows users that the MediaMTX container will not modify the configuration file.
2024-11-06 15:15:25 +01:00
Alessandro Ros
716660217d
remove deprecated build flags syntax (#3930) 2024-11-06 15:07:33 +01:00
Alessandro Ros
576a117c7c
bump Golang to 1.23 (#3702)
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_highlevel (push) Has been cancelled
2024-11-04 14:02:05 +01:00
dependabot[bot]
d3b4a26413
build(deps): bump github.com/alecthomas/kong from 1.2.1 to 1.3.0 (#3926)
Bumps [github.com/alecthomas/kong](https://github.com/alecthomas/kong) from 1.2.1 to 1.3.0.
- [Commits](https://github.com/alecthomas/kong/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/kong
  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>
2024-11-04 13:53:30 +01:00
dependabot[bot]
dff8fa43dd
build(deps): bump github.com/fsnotify/fsnotify from 1.7.0 to 1.8.0 (#3925)
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_highlevel (push) Has been cancelled
2024-10-31 19:28:13 +01:00
Andres Uribe
f8b366c604
webrtc: restart ICE only on failed connection states (#3899)
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_highlevel (push) Waiting to run
* webrtc: Restart ICE only on failed connection states

* rename "connected" into "ready" since WebRTC can emit the "connected" state multiple times

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-10-31 12:47:35 +01:00
Alessandro Ros
5ff4f90ff9
webrtc: fix using JavaScript classes from outside the server (#3923)
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_highlevel (push) Waiting to run
2024-10-30 21:29:50 +01:00
Alessandro Ros
20ad88f013
webrtc: move JavaScript reader and publisher into portable classes (#3921)
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_highlevel (push) Has been cancelled
2024-10-28 18:48:11 +01:00
Alessandro Ros
51b21c8adb
webrtc: include query parameters in session URL (#3920) 2024-10-28 18:35:55 +01:00
dependabot[bot]
1dfb5ba4b9
build(deps): bump github.com/go-git/go-billy/v5 from 5.5.0 to 5.6.0 (#3900)
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_highlevel (push) Has been cancelled
2024-10-22 23:41:41 +02:00
Alessandro Ros
1dd975504f
rpi: increase default camera bitrate to 5 Mbps (#3896)
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_highlevel (push) Has been cancelled
2024-10-21 01:25:32 +02:00
github-actions[bot]
6cd7487857
bump mediamtx-rpicamera to v2.3.4 (#3895)
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_highlevel (push) Waiting to run
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-10-20 16:40:33 +02:00
Alessandro Ros
b84ee99866
fix mediamtx-rpicamera automatic updater (#3894) 2024-10-20 16:39:55 +02:00
Alessandro Ros
7c4849eb1e
add mediamtx-rpicamera automatic updater (#3893) 2024-10-20 16:37:33 +02:00
dependabot[bot]
2453284114
build(deps): bump github.com/bluenviron/gortsplib/v4 (#3891)
Bumps [github.com/bluenviron/gortsplib/v4](https://github.com/bluenviron/gortsplib) from 4.11.0 to 4.11.1.
- [Commits](https://github.com/bluenviron/gortsplib/compare/v4.11.0...v4.11.1)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/v4
  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>
2024-10-20 16:31:42 +02:00
github-actions[bot]
773116a647
bump hls.js to v1.5.17 (#3885)
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_highlevel (push) Has been cancelled
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-10-18 17:42:35 +02:00
Alessandro Ros
a532779e33
simplify Path.HasStaticSource() (#3876)
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_highlevel (push) Has been cancelled
2024-10-14 14:47:51 +02:00
Alessandro Ros
cf9484a96e
skip prerelease versions of hls.js (#3872)
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_highlevel (push) Waiting to run
2024-10-13 22:39:19 +02:00
Alessandro Ros
e2121c6949
bump mediamtx-rpicamera (#3870) 2024-10-13 21:28:27 +02:00
Alessandro Ros
6188ee1886
fix wrong -dirty prefix in version (#3869)
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_highlevel (push) Waiting to run
2024-10-12 22:24:40 +02:00
Alessandro Ros
f231837591
warn instead of exiting when it is not possible to get version from git (#3857)
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_highlevel (push) Has been cancelled
2024-10-09 21:57:05 +02:00
database64128
737ab9d59a
fix setting version in Arch Linux package (#3852) 2024-10-09 21:26:11 +02:00
Alessandro Ros
cc1116f497
remove git clone --depth=0 where it is not needed (#3856) 2024-10-09 21:14:54 +02:00
github-actions[bot]
a09b27f421
bump hls.js to v1.5.16 (#3853)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-10-09 20:07:13 +02:00
Alessandro Ros
1a6547f13b
restore pprof service (#3848) (#3851)
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_highlevel (push) Waiting to run
2024-10-08 17:06:47 +02:00
Alessandro Ros
457a47116a
pprof: fix required authentication action (#3850) 2024-10-08 17:06:17 +02:00
Alessandro Ros
d13dc1074a
make better use of Gin middleware system (#3849) 2024-10-08 17:02:16 +02:00
Alessandro Ros
c8cdb77fe0
fix version reporting with --version (#3846) (#3847)
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_highlevel (push) Waiting to run
2024-10-08 09:41:38 +02:00
dependabot[bot]
32d3fc55cc
build(deps): bump github.com/bluenviron/gortsplib/v4 (#3843)
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_highlevel (push) Waiting to run
Bumps [github.com/bluenviron/gortsplib/v4](https://github.com/bluenviron/gortsplib) from 4.10.7-0.20241007135843-2ca0bffa20a2 to 4.11.0.
- [Commits](https://github.com/bluenviron/gortsplib/commits/v4.11.0)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/v4
  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>
2024-10-07 21:12:33 +02:00
dependabot[bot]
4a2b6d3714
build(deps): bump github.com/bluenviron/gohlslib/v2 (#3844)
Bumps [github.com/bluenviron/gohlslib/v2](https://github.com/bluenviron/gohlslib) from 2.0.0-20241007134735-ed88408cd4de to 2.0.0.
- [Commits](https://github.com/bluenviron/gohlslib/commits/v2.0.0)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gohlslib/v2
  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>
2024-10-07 21:08:56 +02:00
Idar Lund
51e5f9ca26
add instructions about SELinux distributions (#3673) 2024-10-07 21:08:05 +02:00
dependabot[bot]
823f6c60a0
build(deps): bump github.com/pion/interceptor from 0.1.32 to 0.1.37 (#3840)
Bumps [github.com/pion/interceptor](https://github.com/pion/interceptor) from 0.1.32 to 0.1.37.
- [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.32...v0.1.37)

---
updated-dependencies:
- dependency-name: github.com/pion/interceptor
  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>
2024-10-07 21:03:12 +02:00
Alessandro Ros
23002d9f5f
route original timestamps without converting to durations (#3839)
This improves timestamp precision.
2024-10-07 17:59:32 +02:00