Commit Graph
2222 Commits
Author SHA1 Message Date
Alessandro RosandGitHub 41a3fd503d rpi: add H264 software encoder (#2581) (#3670)
This allows to use the RPI camera on the Raspberry Pi 5 too.
2024-08-21 00:05:40 +02:00
Alessandro RosandGitHub f4051eb63d rpi: add rpiCameraFlickerPeriod (#3463) (#3667) 2024-08-19 11:22:54 +02:00
Alessandro RosandGitHub 6256d0b893 rpi: embed libcamera and libfreetype into the server (#2581) (#3665) 2024-08-18 19:12:26 +02:00
Alessandro RosandGitHub c5059fa7a0 move RPI Camera component into dedicated repository (#3656) 2024-08-14 23:24:17 +02:00
Alessandro RosandGitHub 4f54ea8b7e update actions/checkout (#3655) 2024-08-14 21:07:51 +02:00
Roy VeshovdaandGitHub 7ceb5bafce Bump rpi camera base image (#3515) 2024-08-14 09:49:27 +02:00
Alessandro RosandGitHub adf740098a raise error in case of duplicate params in the configuration (#3593) (#3651) 2024-08-13 11:55:00 +02:00
Alessandro RosandGitHub f9913b8a2a simplify rpi / microphone instructions (#3650) 2024-08-13 11:43:22 +02:00
Alessandro RosandGitHub 1e7a7d1674 rpi camera: update font and link it to IBM repository (#3647) 2024-08-11 23:34:12 +02:00
c8f1fa93f5 remove whitespace from hashBuf (#3622)
* remove whitespace from hashBuf

* merge bytes.TrimSpace and strings.TrimSpace

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-08-10 11:15:17 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6225706c82 build(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0 (#3628)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/crypto/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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-08-10 11:05:00 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3ff296d100 build(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 (#3643)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/sys/compare/v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  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-08-10 11:01:41 +02:00
01f1d27670 bump hls.js to v1.5.14 (#3624)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-08-07 16:33:50 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e7dc977ab9 build(deps): bump github.com/pion/interceptor from 0.1.29 to 0.1.30 (#3627)
Bumps [github.com/pion/interceptor](https://github.com/pion/interceptor) from 0.1.29 to 0.1.30.
- [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.29...v0.1.30)

---
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-08-07 16:32:24 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
541f1c78fb build(deps): bump golang.org/x/term from 0.22.0 to 0.23.0 (#3626)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/term/compare/v0.22.0...v0.23.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-08-07 16:32:09 +02:00
Alessandro RosandGitHub 53e9470201 update dependencies (#3612) 2024-08-04 14:21:12 +02:00
1055be99c0 automatically reload TLS certificates when they change (#3598)
* Dynamically refresh tls certs for all servers

* make sure that CertLoader is always closed

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-08-04 14:12:08 +02:00
Alessandro RosandGitHub 972ffbf332 improve API docs linter (#3608) 2024-08-04 13:12:30 +02:00
Alessandro RosandGitHub 49c8acf2f6 update golangci-lint (#3611) 2024-08-04 13:10:14 +02:00
Alessandro RosandGitHub 44a879170f apidocs: add missing fields in /list and SRT connections (#3610) 2024-08-04 12:52:36 +02:00
Alessandro RosandGitHub aade940296 Revert "enable runOnDemandRestart by default (#3605)" (#3609)
This reverts commit 547e56e82b.
2024-08-04 12:32:37 +02:00
Alessandro RosandGitHub c80bb53b0f apidocs: add missing authentication-related parameters (#3607) 2024-08-04 12:32:16 +02:00
Alessandro RosandGitHub 547e56e82b enable runOnDemandRestart by default (#3605) 2024-08-03 20:51:54 +02:00
Alessandro RosandGitHub 012cc6c701 simplify tests (#3604) 2024-08-03 20:47:09 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
67198ccc62 build(deps): bump github.com/bluenviron/mediacommon (#3597)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.12.1 to 1.12.2.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.12.1...v1.12.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-08-01 21:55:48 +02:00
Alessandro RosandGitHub c9a938a501 improve fuzz tests (#3596) 2024-08-01 17:01:56 +02:00
Alessandro RosandGitHub 59ae3add7e move codec-related constants into formatprocessor (#3595) 2024-08-01 16:42:53 +02:00
Alessandro RosandGitHub 0230aa0a9c record, hls: fix panic with MPEG-4 audio tracks without config (#3590) (#3594) 2024-08-01 16:34:40 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
da5420a788 build(deps): bump github.com/datarhei/gosrt (#3559)
Bumps [github.com/datarhei/gosrt](https://github.com/datarhei/gosrt) from 0.6.1-0.20240708145230-390712a1b3f7 to 0.7.0.
- [Commits](https://github.com/datarhei/gosrt/commits/v0.7.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-17 21:29:04 +02:00
Alessandro RosandGitHub 3152388c1f fix gosrt import (#3549) 2024-07-12 13:56:44 +02:00
Alessandro RosandGitHub ed15f9dde5 deps: restore link to datarhei/gosrt (#3546) 2024-07-11 13:33:03 +02:00
976f2252a5 bump hls.js to v1.5.13 (#3540)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-07-08 18:08:49 +02:00
Alessandro RosandGitHub c3265a554b fix hls.js update workflow (#3538) 2024-07-08 18:06:51 +02:00
Alessandro RosandGitHub 1a4fd9cfca bump dependencies (#3537) 2024-07-07 19:51:43 +02:00
Alessandro RosandGitHub 3f1d182d2c fix support for HTTP preflight requests (#1792) (#3535) 2024-07-06 21:45:15 +02:00
Alessandro RosandGitHub 342c257df5 srt: process connection requests in parallel (#3382) (#3534) 2024-07-05 22:17:40 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c4987d020a build(deps): bump golang.org/x/term from 0.21.0 to 0.22.0 (#3533)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/term/compare/v0.21.0...v0.22.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-07-05 19:29:20 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3c2d103234 build(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0 (#3532)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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-07-05 19:28:57 +02:00
dependabot[bot]andGitHub c2d60e5a9b build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 (#3530) 2024-07-04 20:07:59 +02:00
Alessandro RosandGitHub afec0cd86c rtmp: fix publishing from DJI FlightHub Sync (#3301) (#3504) 2024-07-01 16:03:12 +02:00
Alessandro RosandGitHub a1dc9f45f5 webrtc: support publishing H265 tracks (#3435) (#3492)
IMPORTANT NOTE: this doesn't allow to read H265 tracks with WebRTC,
just to publish them. The inability to read H265 tracks with WebRTC is
not in any way related to the server but depends on browsers and on the
fact that they are not legally entitled to embed a H265 decoder inside
them.
2024-06-19 21:02:08 +02:00
Alessandro RosandGitHub 65d90f7cc6 allow using MTX_QUERY inside source (#3486)
this allows to pass query parameters to sources, for instance:

source: rtsp://my_host/my_path?$MTX_QUERY
sourceOnDemand: true
2024-06-18 22:10:26 +02:00
Bouke van der BijlandGitHub dfa2e81e61 Save a hash of the hls.min.js release (#3464)
This ensures the downloaded hls.js matches exactly and removes a dependency on cdn.jsdelivr.net
2024-06-17 23:15:18 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7dcfd2e46d build(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3 (#3470)
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  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-06-17 23:12:10 +02:00
Alessandro RosandGitHub f227971517 fix UDP-related tests (#3484)
for some reason, using "localhost" with UDP inside GitHub Actions and
Docker stopped working.
2024-06-17 23:09:25 +02:00
Alessandro RosandGitHub 9554fc4ba0 prevent mixing together legacy and current auth mechanism (#3258) (#3460) 2024-06-12 17:38:55 +02:00
Alessandro RosandGitHub 39ae1269ad webrtc: support passing username and password through Bearer Token (#3248) (#3459) 2024-06-11 23:37:59 +02:00
Alessandro RosandGitHub caa9fa6ca0 webrtc, hls: support passing JWT through Authorization header (#3248) (#3458) 2024-06-11 23:33:01 +02:00
Alessandro RosandGitHub 80a133afc9 bump dependencies (#3457) 2024-06-11 22:43:27 +02:00
Alessandro RosandGitHub 3eabe6ac54 expose MTX_SEGMENT_DURATION to runOnRecordSegmentComplete (#3440) (#2983) (#3456)
* improve tests

* add duration to OnSegmentComplete

* expose MTX_SEGMENT_DURATION to runOnRecordSegmentComplete

* add tests
2024-06-11 18:30:40 +02:00