Commit Graph

2361 Commits

Author SHA1 Message Date
Alessandro Ros
ac0ddc9e8a
playback: improve /list response time (#3637) (#4096)
Response times of the /list endpoint were slow because the duration of
each segment was computed from scratch by summing the duration of each
of its parts.

This is improved by storing the duration of the overall segment in the
header and using that, if available.
2025-01-03 13:08:46 +01:00
dependabot[bot]
07af42ebe3
build(deps): bump github.com/go-git/go-git/v5 from 5.13.0 to 5.13.1 (#4100)
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.13.0 to 5.13.1.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.13.0...v5.13.1)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  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-01-02 20:27:31 +01:00
dependabot[bot]
3812240e89
build(deps): bump github.com/bluenviron/gortsplib/v4 (#4097)
Bumps [github.com/bluenviron/gortsplib/v4](https://github.com/bluenviron/gortsplib) from 4.12.1-0.20250101115503-c5485517016a to 4.12.1.
- [Commits](https://github.com/bluenviron/gortsplib/commits/v4.12.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>
2025-01-02 13:15:10 +01:00
dependabot[bot]
0f74cee372
build(deps): bump github.com/bluenviron/gohlslib/v2 from 2.1.0 to 2.1.1 (#4099)
* build(deps): bump github.com/bluenviron/gohlslib/v2 from 2.1.0 to 2.1.1

Bumps [github.com/bluenviron/gohlslib/v2](https://github.com/bluenviron/gohlslib) from 2.1.0 to 2.1.1.
- [Commits](https://github.com/bluenviron/gohlslib/compare/v2.1.0...v2.1.1)

---
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>

* fix tests

---------

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>
2025-01-02 13:10:57 +01:00
Alessandro Ros
fc803da4be
generate and show binary checksums in releases (#4012) (#4095) 2025-01-02 12:44:33 +01:00
Alessandro Ros
b49acb1e00
accept durations expressed as days (i.e. '1d') (#4094) 2025-01-02 12:44:15 +01:00
Alessandro Ros
8cbbbc05c3
rtmp: support additional Enhanced-RTMP features (#3685) (#4088)
new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
2025-01-02 12:44:01 +01:00
Alessandro Ros
6425bd5a8e
srt: fix compatibility with Blackmagic Design hardware (#3701) (#4087) 2025-01-02 12:43:37 +01:00
Alessandro Ros
d38b7e95fc
playback: allow filtering timespans by start and end date (#3637) (#3489) (#4085) 2025-01-02 12:43:18 +01:00
dependabot[bot]
f21604399c
build(deps): bump github.com/go-git/go-billy/v5 from 5.6.0 to 5.6.1 (#4090)
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/go-git/go-billy/releases)
- [Commits](https://github.com/go-git/go-billy/compare/v5.6.0...v5.6.1)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
  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-12-30 20:47:13 +01:00
dependabot[bot]
d79221c02d
build(deps): bump github.com/go-git/go-git/v5 from 5.12.0 to 5.13.0 (#4091)
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.12.0 to 5.13.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.12.0...v5.13.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>
2024-12-30 20:31:26 +01:00
Alessandro Ros
df3362aef8
warn users if deprecated parameters are being used (#4080) 2024-12-25 19:28:54 +01:00
Alessandro Ros
dfb792eb90
rtsp: rename encryption, protocols, serverKey, serverCert into rtspEncryption, rtspProtocols, rtspServerKey, rtspServerCert (#4078) 2024-12-25 18:26:14 +01:00
Alessandro Ros
8cb584b514
api, metrics: fix RTC lowercase in webRTCSession and webRTCSource (#4076) 2024-12-25 17:47:24 +01:00
Alessandro Ros
28970b323e
fix MTX_CONN_TYPE value with RTSP connections (#3967) (#4075) 2024-12-25 17:42:19 +01:00
Alessandro Ros
8a808ac0f6
api: add 'session' field to RTSPConn (#3974) (#4074) 2024-12-25 16:17:53 +01:00
dependabot[bot]
18d0eec76c
build(deps): bump github.com/gin-contrib/pprof from 1.5.1 to 1.5.2 (#4071)
Bumps [github.com/gin-contrib/pprof](https://github.com/gin-contrib/pprof) from 1.5.1 to 1.5.2.
- [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.1...v1.5.2)

---
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-12-25 16:05:36 +01:00
Alessandro Ros
57addb1cc2
api, metrics: add additional RTSP statistics (#3312) (#4073) 2024-12-25 15:43:41 +01:00
dependabot[bot]
e11278253a
build(deps): bump github.com/abema/go-mp4 from 1.2.0 to 1.3.0 (#4072)
Bumps [github.com/abema/go-mp4](https://github.com/abema/go-mp4) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/abema/go-mp4/releases)
- [Commits](https://github.com/abema/go-mp4/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/abema/go-mp4
  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-24 19:22:54 +01:00
dependabot[bot]
0bced56c0d
build(deps): bump github.com/matthewhartstonge/argon2 (#4070)
Bumps [github.com/matthewhartstonge/argon2](https://github.com/matthewhartstonge/argon2) from 1.1.0 to 1.1.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.1.0...v1.1.1)

---
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-12-24 19:22:01 +01:00
dependabot[bot]
3233e48e3d
build(deps): bump github.com/matthewhartstonge/argon2 (#4068)
Bumps [github.com/matthewhartstonge/argon2](https://github.com/matthewhartstonge/argon2) from 1.0.3 to 1.1.0.
- [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.3...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/matthewhartstonge/argon2
  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-23 21:18:30 +01:00
Alessandro Ros
f1e031c5c8
fix recording timestamp with some audio codecs (#3969) (#4041) (#4062)
When a stream contained an Opus, MPEG-4 audio or AC3 track, timestamp in
the segment file name was increasing at twice the speed.
2024-12-21 11:18:23 +01:00
github-actions[bot]
d23fb08e2d
bump hls.js to v1.5.18 (#4052)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-12-18 11:22:53 +01:00
dependabot[bot]
34561e145d
build(deps): bump github.com/bluenviron/mediacommon (#4047)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.13.1 to 1.13.2.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.13.1...v1.13.2)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/mediacommon
  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-12-16 21:23:05 +01:00
dependabot[bot]
c93cfb586e
build(deps): bump github.com/pion/rtcp from 1.2.14 to 1.2.15 (#4048)
Bumps [github.com/pion/rtcp](https://github.com/pion/rtcp) from 1.2.14 to 1.2.15.
- [Release notes](https://github.com/pion/rtcp/releases)
- [Changelog](https://github.com/pion/rtcp/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/rtcp/compare/v1.2.14...v1.2.15)

---
updated-dependencies:
- dependency-name: github.com/pion/rtcp
  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-12-16 21:22:55 +01:00
Alessandro Ros
8840a78870
improve documentation (#4045) 2024-12-15 13:07:46 +01:00
Alessandro Ros
d641392da5
fix race condition when checking configuration (#4044)
* simplify configuration parser

* fix race condition when checking configuration
2024-12-15 12:34:51 +01:00
dependabot[bot]
2d1a2da7b2
build(deps): bump github.com/matthewhartstonge/argon2 (#4039) 2024-12-12 20:05:13 +01:00
dependabot[bot]
f3d05e95fa
build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0 (#4034) 2024-12-11 19:22:37 +01:00
dependabot[bot]
70005dd1e6
build(deps): bump github.com/bluenviron/gohlslib/v2 from 2.0.0 to 2.1.0 (#4033) 2024-12-11 19:22:15 +01:00
dependabot[bot]
cf01683168
build(deps): bump github.com/datarhei/gosrt from 0.7.0 to 0.8.0 (#3992)
* build(deps): bump github.com/datarhei/gosrt from 0.7.0 to 0.8.0

Bumps [github.com/datarhei/gosrt](https://github.com/datarhei/gosrt) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/datarhei/gosrt/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: github.com/datarhei/gosrt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix tests

---------

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>
2024-12-11 00:42:16 +01:00
dependabot[bot]
9f04f7d0c3
build(deps): bump github.com/alecthomas/kong from 1.5.1 to 1.6.0 (#4029) 2024-12-09 19:00:35 +01:00
Alessandro Ros
7191c85e3b
fix codecov URL (#4026) 2024-12-08 17:28:06 +01:00
dependabot[bot]
e7b367245f
build(deps): bump golang.org/x/crypto from 0.29.0 to 0.30.0 (#4019) 2024-12-05 19:45:27 +01:00
Alessandro Ros
770d72b638
rtmp: support Extended Metadata Frames (#4006) (#4014) (#4018) 2024-12-04 23:29:16 +01:00
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) 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) 2024-12-03 07:59:45 +01:00
Alessandro Ros
72a8b3ca8a
webrtc: support publishing and reading H265 tracks (#4003) 2024-12-02 23:55:54 +01:00
Alessandro Ros
235fd27dce
rpicamera: fix restarting camera when component crashes (#3997) 2024-11-30 18:58:33 +01:00
Alessandro Ros
e6fa56dd06
rpicamera: fix restarting stream in case of disconnections or driver errors (#3988) 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) 2024-11-26 13:18:57 +01:00
dependabot[bot]
308b7a91d9
build(deps): bump github.com/matthewhartstonge/argon2 (#3950)
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) 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