Commit Graph
2467 Commits
Author SHA1 Message Date
Alessandro RosandGitHub ee8a47844a hls: fix race condition when getting absolute time (#4375) 2025-03-29 17:10:31 +01:00
github-actions[bot]andGitHub 6250d6c485 bump hls.js to v1.6.0 (#4374) 2025-03-28 08:48:10 +01:00
Alessandro RosandGitHub 60cabeea92 hls: support routing absolute timestamps (#1300) (#4372) 2025-03-27 22:18:13 +01:00
Alessandro RosandGitHub 0d46cf3f74 rename stream decode errors into processing errors (#4370)
Stream errors include both errors from decoding RTP packets into
frames, and errors from encoding frames into RTP packets. "processing
errors" is more fit.
2025-03-26 15:14:08 +01:00
Alessandro RosandGitHub f851cb6961 add missing Start() call; fix wrong sprintf (#4369) 2025-03-26 12:47:09 +01:00
Alessandro RosandGitHub 986e270862 count and log all discarded frames, decode errors, lost packets (#4363)
Discarded frames, decode errors and lost packets were logged
individually, then there was a mechanism that prevented more than 1 log
entry per second from being printed, resulting in inaccurate reports.

Now discarded frames, decode errors and lost packets are accurately
counted, and their count is printed once every second.
2025-03-25 21:59:58 +01:00
Alessandro RosandGitHub 65a2f63081 fix getting MediaMTX version with go-gin (#4367) 2025-03-25 21:41:38 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f3af2e78d8 build(deps): bump code.cloudfoundry.org/bytefmt from 0.33.0 to 0.34.0 (#4366)
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt) from 0.33.0 to 0.34.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases)
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.33.0...v0.34.0)

---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
  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-03-25 19:16:03 +01:00
Alessandro RosandGitHub 416ac1357e bump mediacommon and gortsplib (#4364) 2025-03-24 17:25:18 +01:00
1069e131b0 allow to customize syslog prefix (#4356)
Co-authored-by: Кадышев Вячеслав <v.kadyshev@dssl.ru>
2025-03-24 15:54:33 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
06f723496d build(deps): bump code.cloudfoundry.org/bytefmt from 0.32.0 to 0.33.0 (#4355)
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases)
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.32.0...v0.33.0)

---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
  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-03-23 22:04:10 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3f1237a01f build(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 (#4360)
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-22 21:36:00 +01:00
Alessandro RosandGitHub 6532a82670 update readme (#4348) 2025-03-16 15:35:47 +01:00
Alessandro RosandGitHub b329c4bbe8 replace New* with Initialize() (#4345) 2025-03-16 15:34:53 +01:00
Alessandro RosandGitHub b64650ca4a record: prevent recordDeleteAfter from deleting current segment (#4331) 2025-03-16 12:24:40 +01:00
Alessandro RosandGitHub 3d16cf40b4 update badges (#4337) 2025-03-12 11:50:56 +01:00
dependabot[bot]andGitHub b55fe14f8d build(deps): bump github.com/pion/rtp from 1.8.12 to 1.8.13 (#4334) 2025-03-11 18:52:32 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
87c7b46873 build(deps): bump github.com/alecthomas/kong from 1.8.1 to 1.9.0 (#4335)
Bumps [github.com/alecthomas/kong](https://github.com/alecthomas/kong) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/alecthomas/kong/releases)
- [Commits](https://github.com/alecthomas/kong/compare/v1.8.1...v1.9.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>
2025-03-11 18:34:12 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31237a9450 build(deps): bump github.com/pion/sdp/v3 from 3.0.10 to 3.0.11 (#4332)
Bumps [github.com/pion/sdp/v3](https://github.com/pion/sdp) from 3.0.10 to 3.0.11.
- [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.10...v3.0.11)

---
updated-dependencies:
- dependency-name: github.com/pion/sdp/v3
  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-03-11 18:34:01 +01:00
dependabot[bot]andGitHub 133964f854 build(deps): bump code.cloudfoundry.org/bytefmt from 0.31.0 to 0.32.0 (#4333) 2025-03-11 18:32:07 +01:00
dependabot[bot]andGitHub b533b0ee8c build(deps): bump github.com/matthewhartstonge/argon2 (#4322) 2025-03-08 16:23:59 +01:00
dependabot[bot]andGitHub 1b68fd27b9 build(deps): bump golang.org/x/crypto from 0.35.0 to 0.36.0 (#4314) 2025-03-05 20:36:38 +01:00
285b94fce5 bump mediamtx-rpicamera to v2.3.7 (#4312)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2025-03-05 17:58:51 +01:00
dependabot[bot]andGitHub 4dfe274239 build(deps): bump code.cloudfoundry.org/bytefmt from 0.30.0 to 0.31.0 (#4308) 2025-03-04 18:57:11 +01:00
dependabot[bot]andGitHub 5258aa3185 build(deps): bump github.com/pion/rtp from 1.8.11 to 1.8.12 (#4303) 2025-03-03 21:09:09 +01:00
Alessandro RosandGitHub 14ec80ae01 improve recordPath documentation (#3678) (#4302) 2025-03-03 18:10:18 +01:00
Alessandro RosandGitHub 371b9585a6 change error message when stream is not found (#4301)
Switch from 'no one is publishing to path' to 'no stream is available
on path' since the stream might be provided from a static source too.
2025-03-03 18:09:22 +01:00
Alessandro RosandGitHub c692f3b78c webrtc: rewrite WHIP client (#4299) 2025-03-01 17:01:57 +01:00
Alessandro RosandGitHub aa101c680c webrtc: make client always provide UDP candidates (#4298) 2025-03-01 16:52:59 +01:00
Alessandro RosandGitHub b602170ed6 bump code.cloudfoundry.org/bytefmt (#4296) 2025-03-01 11:55:47 +01:00
Alessandro RosandGitHub 1bfd9bacc9 bump pion/webrtc (#4295) 2025-03-01 11:51:57 +01:00
Alessandro RosandGitHub 4584726985 update linter (#4294) 2025-03-01 11:37:42 +01:00
Alessandro RosandGitHub 5c6cf58d75 webrtc: fix connecting to TCP-only sources (#4293) 2025-03-01 11:07:50 +01:00
Alessandro RosandGitHub 44136b3045 api: fix crash in /recordings/list (#4040) (#4291)
The API crashed when

- '%path%' is not present in 'recordPath'
- 'all_others' is in 'paths'
- there's at least one recording segment

A recording segment without path is parsed as a segment with an empty
path. This path is then passed to FindPathConf(), that returns an error
in case of empty or invalid paths. This error is not checked for
performance reasons, leading to the crash.

This PR prevents empty or invalid paths from reaching FindPathConf().
2025-02-28 19:04:05 +01:00
Kibeom LeeandGitHub 95d0be64bc fix ARM compilation (#4280) 2025-02-27 20:13:18 +01:00
Alessandro RosandGitHub 7ab8fbb55d add instructions on how to expose in subfolder (#4287) 2025-02-27 19:53:55 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c82ad52a02 build(deps): bump github.com/go-git/go-git/v5 from 5.13.2 to 5.14.0 (#4286)
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.13.2 to 5.14.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.13.2...v5.14.0)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  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-02-27 19:32:23 +01:00
dependabot[bot]andGitHub 492163158b build(deps): bump golang.org/x/crypto from 0.33.0 to 0.35.0 (#4279) 2025-02-26 08:15:34 +01:00
dependabot[bot]andGitHub f679555e71 build(deps): bump github.com/datarhei/gosrt from 0.8.0 to 0.9.0 (#4271) 2025-02-20 18:48:17 +01:00
Alessandro RosandGitHub 386be42784 rtsp: rewrite authentication around ServerConn.VerifyCredentials (#4267) 2025-02-18 17:54:13 +01:00
Alessandro RosandGitHub 7ade2896e5 warn users when non-existent fields are used in conf (#4261) 2025-02-18 15:23:44 +01:00
Alessandro RosandGitHub d822c2a200 rtsp: support using relative URLs in sourceRedirect (#4260) 2025-02-18 15:23:07 +01:00
Alessandro RosandGitHub 2745527264 prevent useless path manager reload (#4264) 2025-02-18 15:18:45 +01:00
Alessandro RosandGitHub b950a0a601 rtsp: fix authentication when rtspAuthMethods is empty (#4266)
when rtspAuthMethods is nil, digest+SHA256 gets enabled, resulting in
the inability of FFmpeg and most clients to connect due to
compatibility issues.
2025-02-18 15:18:17 +01:00
Alessandro RosandGitHub 244da930a1 switch to mediacommon/v2 (#4259) 2025-02-17 14:54:58 +01:00
dependabot[bot]andGitHub 0711bf43a4 build(deps): bump github.com/alecthomas/kong from 1.8.0 to 1.8.1 (#4255) 2025-02-14 19:12:09 +01:00
Alessandro RosandGitHub eeb83f9a56 record: fix crash when recordDeleteAfter is 0 and API is called (#4250) (#4254) 2025-02-14 11:53:16 +01:00
Alessandro RosandGitHub b33fb487e0 fix workflow badges (#4249) 2025-02-13 11:19:10 +01:00
dependabot[bot]andGitHub 5e841b14b5 build(deps): bump github.com/alecthomas/kong from 1.7.0 to 1.8.0 (#4246) 2025-02-10 18:54:03 +01:00
dependabot[bot]andGitHub 9f1a414abc build(deps): bump golang.org/x/crypto from 0.32.0 to 0.33.0 (#4245) 2025-02-10 18:53:50 +01:00