Alessandro Ros
3a4d4e1802
docs: add linter ( #4945 )
code_lint / go (push) Waiting to run
code_lint / go_mod (push) Waiting to run
code_lint / docs (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-09-06 22:51:45 +02:00
dependabot[bot]
5f61395915
build(deps): bump actions/setup-go from 5 to 6 ( #4941 )
...
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 19:52:51 +02:00
dependabot[bot]
1209127c39
build(deps): bump actions/github-script from 7 to 8 ( #4940 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 19:52:38 +02:00
dependabot[bot]
f887aa873e
build(deps): bump github.com/pion/rtp from 1.8.21 to 1.8.22 ( #4936 )
...
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
Bumps [github.com/pion/rtp](https://github.com/pion/rtp ) from 1.8.21 to 1.8.22.
- [Release notes](https://github.com/pion/rtp/releases )
- [Changelog](https://github.com/pion/rtp/blob/master/.goreleaser.yml )
- [Commits](https://github.com/pion/rtp/compare/v1.8.21...v1.8.22 )
---
updated-dependencies:
- dependency-name: github.com/pion/rtp
dependency-version: 1.8.22
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-09-04 11:17:29 +02:00
Alessandro Ros
736abc40b3
fix golangci_lint workflow ( #4933 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-09-03 15:22:27 +02:00
hyesung913
cb16f68432
rtmp: improve control message compatibility with non-standard cameras ( #4909 )
...
* feat: improve RTMP control message compatibility with non-standard cameras
- Add flexible chunk stream ID validation for control messages
- Support common non-standard chunk stream IDs (2,3,4,5,6) used by various cameras
- Maintain backward compatibility with standard RTMP clients
- Fix connection issues with PTZ cameras using chunk stream ID 4
This resolves compatibility issues with IP cameras that don't strictly follow
RTMP spec while maintaining full support for standard RTMP implementations.
Previously, cameras using non-standard chunk stream IDs would fail with
'unexpected chunk stream ID' errors. Now MediaMTX provides nginx-rtmp level
compatibility with real-world camera implementations."
* add tests
* entirely remove control chunk stream ID validation
---------
Co-authored-by: Hyesung.Kim <hyesung.kim@xcath.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-09-03 15:11:32 +02:00
dependabot[bot]
15e2713ae7
build(deps): bump code.cloudfoundry.org/bytefmt from 0.48.0 to 0.49.0 ( #4932 )
...
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt ) from 0.48.0 to 0.49.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases )
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.48.0...v0.49.0 )
---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
dependency-version: 0.49.0
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-09-03 11:59:10 +02:00
Alessandro Ros
1c3c4500f2
update documentation ( #4930 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-09-02 10:39:11 +02:00
dependabot[bot]
50565c98a1
build(deps): bump github.com/pion/sdp/v3 from 3.0.15 to 3.0.16 ( #4929 )
2025-09-02 09:22:43 +02:00
Alessandro Ros
55ff69067e
docs: add security page ( #4922 )
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
2025-08-31 16:57:27 +02:00
Alessandro Ros
3ed918bfca
docs: fix typo ( #4921 )
2025-08-31 16:23:33 +02:00
Alessandro Ros
a3926f732a
docs: add instructions on how to extract screenshots ( #4920 )
2025-08-31 16:19:33 +02:00
Alessandro Ros
a558c5681a
improve documentation ( #4918 )
2025-08-31 14:15:58 +02:00
Alessandro Ros
12182b5913
update documentation ( #4915 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-08-30 18:03:07 +02:00
Alessandro Ros
f29299db39
update documentation ( #4914 )
2025-08-30 16:52:53 +02:00
Alessandro Ros
1a5e736b59
link documentation to mediamtx.org ( #4912 )
2025-08-30 14:56:11 +02:00
dependabot[bot]
619d84abd5
build(deps): bump actions/attest-build-provenance from 2 to 3 ( #4910 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-08-30 08:14:26 +02:00
dependabot[bot]
cb935f53de
build(deps): bump github.com/gookit/color from 1.5.4 to 1.6.0 ( #4907 )
...
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
Bumps [github.com/gookit/color](https://github.com/gookit/color ) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/gookit/color/releases )
- [Commits](https://github.com/gookit/color/compare/v1.5.4...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/gookit/color
dependency-version: 1.6.0
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-08-28 22:05:40 +02:00
dependabot[bot]
639fc03170
build(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1 ( #4905 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-08-28 12:54:20 +02:00
dependabot[bot]
4bca1a2e2d
build(deps): bump code.cloudfoundry.org/bytefmt from 0.47.0 to 0.48.0 ( #4903 )
...
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt ) from 0.47.0 to 0.48.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases )
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.47.0...v0.48.0 )
---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
dependency-version: 0.48.0
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-08-27 09:30:26 +02:00
bluenviron-bot
9fce341fa2
bump hls.js to v1.6.11 ( #4898 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-08-26 23:51:13 +02:00
dependabot[bot]
5160986deb
build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 ( #4901 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-08-26 15:33:31 +02:00
dependabot[bot]
50ea02e128
build(deps): bump github.com/pion/webrtc/v4 from 4.1.3 to 4.1.4 ( #4893 )
...
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
Bumps [github.com/pion/webrtc/v4](https://github.com/pion/webrtc ) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/pion/webrtc/releases )
- [Changelog](https://github.com/pion/webrtc/blob/master/.goreleaser.yml )
- [Commits](https://github.com/pion/webrtc/compare/v4.1.3...v4.1.4 )
---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v4
dependency-version: 4.1.4
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-08-24 13:39:16 +02:00
Pooyan Khanjankhani
3c8d78194c
refactor: remove duplicated http middleware ( #4894 )
2025-08-24 12:37:56 +02:00
dependabot[bot]
da1a00fea1
build(deps): bump code.cloudfoundry.org/bytefmt from 0.46.0 to 0.47.0 ( #4887 )
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
2025-08-20 08:07:02 +02:00
bp0
fa6a20a5f9
hls, webrtc: Add disablepictureinpicture param ( #4883 )
...
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/video#disablepictureinpicture
2025-08-17 21:45:48 +02:00
bluenviron-bot
9ab48ea480
bump hls.js to v1.6.10 ( #4877 )
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
2025-08-15 10:57:24 +02:00
bluenviron-bot
ae09e559e2
bump golangci-lint to 2.4.0 ( #4876 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-08-14 10:34:06 +02:00
alex9long
262ce82d58
refactor: use the built-in max/min to simplify the code ( #4867 )
...
Signed-off-by: alex9long <alex9long@outlook.com>
2025-08-14 10:32:24 +02:00
dependabot[bot]
86bf9bdfd7
build(deps): bump code.cloudfoundry.org/bytefmt from 0.45.0 to 0.46.0 ( #4869 )
...
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
Bumps [code.cloudfoundry.org/bytefmt](https://github.com/cloudfoundry/bytefmt ) from 0.45.0 to 0.46.0.
- [Release notes](https://github.com/cloudfoundry/bytefmt/releases )
- [Commits](https://github.com/cloudfoundry/bytefmt/compare/v0.45.0...v0.46.0 )
---
updated-dependencies:
- dependency-name: code.cloudfoundry.org/bytefmt
dependency-version: 0.46.0
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-08-13 10:39:10 +02:00
Alessandro Ros
c80220eb7c
webrtc: solve domains in webrtcAdditionalHosts on server-side ( #4817 ) ( #4866 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-08-12 15:49:38 +02:00
Alessandro Ros
b627128d0f
remove context from webrtc.PeerConnection arguments ( #4854 )
...
contexts are useless since there's already PeerConnection.Close().
2025-08-12 15:19:59 +02:00
Alessandro Ros
5ae934887d
remove custom forks of pion/webrtc and pion/ice ( #4861 )
...
this fixes IPv6 reliability issues and allows to receive upstream
updates in a more linear way.
2025-08-12 14:30:08 +02:00
Alessandro Ros
89993951ca
fix arm32 / arm64 binaries ( #4863 )
2025-08-12 14:22:50 +02:00
Alessandro Ros
1a0f8e53f3
webrtc: show SDP answers in logs ( #4862 )
2025-08-12 14:11:42 +02:00
Alessandro Ros
afff90f00e
restore Windows compatibility ( #4860 )
2025-08-12 13:00:45 +02:00
Alessandro Ros
03623799f5
use slices.Contains when possible ( #4859 )
2025-08-12 12:28:20 +02:00
dependabot[bot]
6ffa058e26
build(deps): bump actions/checkout from 4 to 5 ( #4857 )
...
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 11:20:23 +02:00
Alessandro Ros
da08b128c4
webrtc: fix crash when loading an invalid configuration ( #4856 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-08-11 19:16:00 +02:00
Alessandro Ros
61382e496b
fix memory leak when reloading the configuration ( #4855 )
...
When a path has a MPEG-TS, RTP or WebRTC source and the path
configuration is reloaded, a routine was left open because the reload
channel was not handled. This fixes the issue.
2025-08-11 17:50:40 +02:00
Alessandro Ros
6d4dfff959
webrtc: fix clock rate of outgoing RTCP receiver reports ( #4852 )
2025-08-11 13:59:10 +02:00
Alessandro Ros
2b316cb1f7
fix race conditions in tests ( #4853 )
2025-08-11 13:48:03 +02:00
Alessandro Ros
462fb2bd0f
allow setting UDP read buffer size ( #3308 ) ( #4846 )
...
new parameters: rtspUDPReadBufferSize, rtpUDPReadBufferSize, mpegtsUDPReadBufferSize
2025-08-11 12:21:00 +02:00
dependabot[bot]
9e073cd34f
build(deps): bump github.com/bluenviron/gortsplib/v4 ( #4850 )
...
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
Bumps [github.com/bluenviron/gortsplib/v4](https://github.com/bluenviron/gortsplib ) from 4.16.0 to 4.16.1.
- [Commits](https://github.com/bluenviron/gortsplib/compare/v4.16.0...v4.16.1 )
---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/v4
dependency-version: 4.16.1
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-08-11 11:05:29 +02:00
Alessandro Ros
19a47acca1
webrtc: close WebRTC sessions when closing browser tabs ( #4477 ) ( #4849 )
...
This should decrease the delay before WebRTC sessions are marked as closed.
2025-08-11 10:48:37 +02:00
Alessandro Ros
2660e9629f
prevent leakages by exiting gracefully with SIGTERM ( #4352 ) ( #4845 )
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
2025-08-09 20:19:59 +02:00
Alessandro Ros
d0430d8ea5
support ingesting RTP streams ( #1515 ) ( #4843 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-08-09 16:12:10 +02:00
Alessandro Ros
1f3014aeac
rename apidocs into api ( #4844 )
...
this is to follow standard Golang project layout
2025-08-09 16:05:34 +02:00
Alessandro Ros
69d37cc6c6
api: rename udpSource into mpegtsSource ( #4842 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-08-08 22:04:26 +02:00
Alessandro Ros
7feff1d1dc
support MPEG-TS over unix sockets ( #4388 ) ( #4389 ) ( #4828 )
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
2025-08-08 18:03:38 +02:00