Commit Graph
2183 Commits
Author SHA1 Message Date
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
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]andGitHub 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 RosandGitHub 427249877c webrtc: fix error "Failed to setup RTCP mux" on some readers (#3381) (#3449) 2024-06-10 15:43:52 +02:00
Alessandro RosandGitHub 095921dc26 webrtc: on browsers, display error messages from server (#3448) 2024-06-10 15:41:05 +02:00
Alessandro RosandGitHub 1911294539 bump pion/webrtc (#3447) 2024-06-10 12:51:24 +02:00
Alessandro RosandGitHub d0c8e89223 fix webrtc/G722 tests (#3444) 2024-06-10 10:15:25 +02:00
Alessandro RosandGitHub 5fe2819546 webrtc: set fmtp of outgoing VP9 and multiopus tracks (#3446) 2024-06-10 09:54:08 +02:00
Alessandro RosandGitHub 511b276b4d webrtc: support reading G711 16khz tracks (#2848) (#3445) 2024-06-10 00:57:26 +02:00
Alessandro RosandGitHub 427fea30ed fix webrtc/VP9 tests (#3443) 2024-06-09 23:18:47 +02:00
Alessandro RosandGitHub 44953c8e05 webrtc: fix supported AV1 profiles (#3442) 2024-06-09 23:09:55 +02:00
Alessandro RosandGitHub d7bc304e52 webrtc: speed up gathering of incoming tracks (#3441) 2024-06-09 22:58:40 +02:00
Alessandro RosandGitHub eaf47e6598 webrtc: support reading, publishing, proxying LPCM tracks (#3437) 2024-06-09 22:51:16 +02:00
Alessandro RosandGitHub bf8b68d757 bump pion/webrtc and pion/ice (#3436) 2024-06-08 23:38:10 +02:00
Alessandro RosandGitHub 16d0bb7200 webrtc: fix proxying PCMU tracks (#3427) 2024-06-05 12:46:55 +02:00
github-actions[bot]andGitHub b9e9b08759 bump hls.js to v1.5.11 (#3426) 2024-06-05 09:00:22 +02:00
Alessandro RosandGitHub efb51044db api: fix crash when itemsPerPage is zero and there are items (#3425) 2024-06-04 23:09:50 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
github-actions[bot]andGitHub 8bd717cf96 bump hls.js to v1.5.10 (#3421) 2024-06-04 10:27:05 +02:00
Alessandro RosandGitHub ca1638976b webrtc: support reading and publishing multichannel Opus (#3371) (#3375) 2024-06-03 00:26:32 +02:00
Alessandro RosandGitHub c37e8953fa webrtc: show error when setLocalDescription or createOffer fail (#3417) 2024-06-02 23:19:58 +02:00
Alessandro RosandGitHub ca6e1259fb webrtc: support reading and proxying stereo PCMU/PCMA tracks (#3402) 2024-06-02 23:08:54 +02:00
Alessandro RosandGitHub 6da8aee64f webrtc: show error in case setRemoteDescription fails (#3416) 2024-06-02 22:14:36 +02:00
Alessandro RosandGitHub f4b7f147a5 api, playback: add CORS headers on non-existing pages too (#1792) (#3410) 2024-05-30 14:29:05 +02:00
Jason WaltonandGitHub 1c2f95f609 webrtc: allow configuring timeouts (#3404) (#3406)
* webrtc: allow configuring timeouts (#3404)

* fix from code inspect
2024-05-30 13:36:58 +02:00
500c5ef350 bump hls.js to v1.5.9 (#3407)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-05-30 10:35:03 +02:00
Alessandro RosandGitHub 51387e8e33 fix error in timestamp of Opus packets coming from SRT / HLS / MPEG-TS (#3388) 2024-05-24 19:47:12 +02:00
Alessandro RosandGitHub 2bb7db5314 simplify Raspberry Pi build instructions (#3385) 2024-05-24 13:40:05 +02:00
Alessandro RosandGitHub 407702380a webrtc: in answer, include codecs that are actually in use (#3374) 2024-05-19 19:41:42 +02:00
Alessandro RosandGitHub 0ace308672 update dependencies (#3370) 2024-05-19 14:45:07 +02:00
Bouke van der BijlandGitHub 6793a12aff api: make replace paths idempotent (#3362)
Don't return a 404 error if the path doesn't exist yet
2024-05-19 14:40:50 +02:00
Alessandro RosandGitHub e283725cde support routing multichannel Opus between RTSP, SRT, HLS, UDP and recording in MPEG-TS and fMP4 (#3355) (#3368) 2024-05-19 14:38:57 +02:00
Alessandro RosandGitHub d21506182b webrtc: fix returning code 404 when a stream does not exist (#3369) 2024-05-19 13:46:47 +02:00
Alessandro RosandGitHub 425b7fa4fb move pmp4 package into mediacommon (#3367) 2024-05-18 11:27:39 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
af9792b44e build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.3.2 to 3.3.3 (#3364)
Bumps [github.com/MicahParks/keyfunc/v3](https://github.com/MicahParks/keyfunc) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/MicahParks/keyfunc/releases)
- [Commits](https://github.com/MicahParks/keyfunc/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: github.com/MicahParks/keyfunc/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>
2024-05-16 20:44:21 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
03ead7f88b build(deps): bump github.com/MicahParks/jwkset from 0.5.17 to 0.5.18 (#3363)
Bumps [github.com/MicahParks/jwkset](https://github.com/MicahParks/jwkset) from 0.5.17 to 0.5.18.
- [Release notes](https://github.com/MicahParks/jwkset/releases)
- [Commits](https://github.com/MicahParks/jwkset/compare/v0.5.17...v0.5.18)

---
updated-dependencies:
- dependency-name: github.com/MicahParks/jwkset
  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-05-16 20:31:53 +02:00
Alessandro RosandGitHub f3ed659fab rtsp: fix authentication when algorithm field is not supported (#3116) (#3314) 2024-05-15 10:28:12 +02:00
Alessandro RosandGitHub c0ad6e4dc5 raise an error in case recordPath is incompatible with the playback server (#3356) 2024-05-14 17:40:45 +02:00
xjr20042andGitHub 6debb52abd hls: make closeAfterInactivity configurable (#3329)
* HLS: make closeAfterInactivity configurable

* add `hlsMuxerCloseAfter` to `apidocs/openapi.yaml`
2024-05-09 10:08:15 +02:00