Commit Graph

2204 Commits

Author SHA1 Message Date
Alessandro Ros 49c8acf2f6
update golangci-lint (#3611) 2024-08-04 13:10:14 +02:00
Alessandro Ros 44a879170f
apidocs: add missing fields in /list and SRT connections (#3610) 2024-08-04 12:52:36 +02:00
Alessandro Ros aade940296
Revert "enable runOnDemandRestart by default (#3605)" (#3609)
This reverts commit 547e56e82b.
2024-08-04 12:32:37 +02:00
Alessandro Ros c80bb53b0f
apidocs: add missing authentication-related parameters (#3607) 2024-08-04 12:32:16 +02:00
Alessandro Ros 547e56e82b
enable runOnDemandRestart by default (#3605) 2024-08-03 20:51:54 +02:00
Alessandro Ros 012cc6c701
simplify tests (#3604) 2024-08-03 20:47:09 +02:00
dependabot[bot] 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 Ros c9a938a501
improve fuzz tests (#3596) 2024-08-01 17:01:56 +02:00
Alessandro Ros 59ae3add7e
move codec-related constants into formatprocessor (#3595) 2024-08-01 16:42:53 +02:00
Alessandro Ros 0230aa0a9c
record, hls: fix panic with MPEG-4 audio tracks without config (#3590) (#3594) 2024-08-01 16:34:40 +02:00
dependabot[bot] 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 Ros 3152388c1f
fix gosrt import (#3549) 2024-07-12 13:56:44 +02:00
Alessandro Ros ed15f9dde5
deps: restore link to datarhei/gosrt (#3546) 2024-07-11 13:33:03 +02:00
github-actions[bot] 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 Ros c3265a554b
fix hls.js update workflow (#3538) 2024-07-08 18:06:51 +02:00
Alessandro Ros 1a4fd9cfca
bump dependencies (#3537) 2024-07-07 19:51:43 +02:00
Alessandro Ros 3f1d182d2c
fix support for HTTP preflight requests (#1792) (#3535) 2024-07-06 21:45:15 +02:00
Alessandro Ros 342c257df5
srt: process connection requests in parallel (#3382) (#3534) 2024-07-05 22:17:40 +02:00
dependabot[bot] 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] 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] 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 Ros afec0cd86c
rtmp: fix publishing from DJI FlightHub Sync (#3301) (#3504) 2024-07-01 16:03:12 +02:00
Alessandro Ros 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 Ros 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 Bijl 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] 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 Ros 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 Ros 9554fc4ba0
prevent mixing together legacy and current auth mechanism (#3258) (#3460) 2024-06-12 17:38:55 +02:00
Alessandro Ros 39ae1269ad
webrtc: support passing username and password through Bearer Token (#3248) (#3459) 2024-06-11 23:37:59 +02:00
Alessandro Ros caa9fa6ca0
webrtc, hls: support passing JWT through Authorization header (#3248) (#3458) 2024-06-11 23:33:01 +02:00
Alessandro Ros 80a133afc9
bump dependencies (#3457) 2024-06-11 22:43:27 +02:00
Alessandro Ros 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
Jacob Su 3a2594d610
rtmp: fix error when publishing AAC audio tracks (#3414)
* fix single aac file rtmp publish error.

* add tests

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-06-11 13:26:45 +02:00
dependabot[bot] e996ae5a21
build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2 (#3450) 2024-06-10 20:01:34 +02:00
Alessandro Ros 427249877c
webrtc: fix error "Failed to setup RTCP mux" on some readers (#3381) (#3449) 2024-06-10 15:43:52 +02:00
Alessandro Ros 095921dc26
webrtc: on browsers, display error messages from server (#3448) 2024-06-10 15:41:05 +02:00
Alessandro Ros 1911294539
bump pion/webrtc (#3447) 2024-06-10 12:51:24 +02:00
Alessandro Ros d0c8e89223
fix webrtc/G722 tests (#3444) 2024-06-10 10:15:25 +02:00
Alessandro Ros 5fe2819546
webrtc: set fmtp of outgoing VP9 and multiopus tracks (#3446) 2024-06-10 09:54:08 +02:00
Alessandro Ros 511b276b4d
webrtc: support reading G711 16khz tracks (#2848) (#3445) 2024-06-10 00:57:26 +02:00
Alessandro Ros 427fea30ed
fix webrtc/VP9 tests (#3443) 2024-06-09 23:18:47 +02:00
Alessandro Ros 44953c8e05
webrtc: fix supported AV1 profiles (#3442) 2024-06-09 23:09:55 +02:00
Alessandro Ros d7bc304e52
webrtc: speed up gathering of incoming tracks (#3441) 2024-06-09 22:58:40 +02:00
Alessandro Ros eaf47e6598
webrtc: support reading, publishing, proxying LPCM tracks (#3437) 2024-06-09 22:51:16 +02:00
Alessandro Ros bf8b68d757
bump pion/webrtc and pion/ice (#3436) 2024-06-08 23:38:10 +02:00
Alessandro Ros 16d0bb7200
webrtc: fix proxying PCMU tracks (#3427) 2024-06-05 12:46:55 +02:00
github-actions[bot] b9e9b08759
bump hls.js to v1.5.11 (#3426) 2024-06-05 09:00:22 +02:00
Alessandro Ros efb51044db
api: fix crash when itemsPerPage is zero and there are items (#3425) 2024-06-04 23:09:50 +02:00
dependabot[bot] 011ea47142
build(deps): bump golang.org/x/crypto from 0.23.0 to 0.24.0 (#3423)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/crypto/compare/v0.23.0...v0.24.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-06-04 22:26:37 +02:00
dependabot[bot] ca5529e10a
build(deps): bump golang.org/x/term from 0.20.0 to 0.21.0 (#3424)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/term/compare/v0.20.0...v0.21.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-06-04 22:16:05 +02:00