Commit Graph

1608 Commits

Author SHA1 Message Date
Alessandro Ros c9eb1a56aa
change Docker repository to bluenviron/mediamtx (#1923) 2023-06-07 12:35:31 +02:00
Alessandro Ros ae883040fd
improve Docker images (#1771) (#1909)
* add ffmpeg variant
* remove 'v' prefix from tags
2023-06-07 12:26:08 +02:00
Alessandro Ros 4dd518cbb1
rebrand initial log message (#1922) 2023-06-07 12:25:16 +02:00
Alessandro Ros 083151360e
return an error in case configuration file can't be opened (#1920) 2023-06-06 21:17:40 +02:00
SP321 04e342a110
update webrtc changes in README. (#1912) 2023-06-05 15:12:51 +02:00
dependabot[bot] 36e377c450
build(deps): bump github.com/pion/webrtc/v3 from 3.2.8 to 3.2.9 (#1906) 2023-06-02 22:08:33 +02:00
Alessandro Ros e2a6c380b0
api: fix setting default parameters when creating a path (#1853) (#1905)
this fixes a regression introduced in v0.23.0.
2023-06-02 18:43:04 +02:00
Alessandro Ros f162ce1f07
update documentation (#1900) 2023-06-02 11:54:10 +02:00
Alessandro Ros 681a00347d
support reading MP4A-LATM-encoded AAC with RTMP and HLS (#1694) (#1898) 2023-06-02 00:38:27 +02:00
Alessandro Ros efda44cfae
rtmp: fix timestamp conversion from RTSP/HLS to RTMP (#1899)
this was causing moments of silence and timing errors when reading with
RTMP a stream originally published with RTSP or HLS.
2023-06-02 00:34:09 +02:00
dependabot[bot] 34e33fe513
build(deps): bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#1897)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  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>
2023-06-01 21:12:15 +02:00
dependabot[bot] 91ec498f90
build(deps): bump github.com/bluenviron/mediacommon from 0.5.0 to 0.5.1 (#1887) 2023-05-31 22:21:12 +02:00
dependabot[bot] dd0324a2fe
build(deps): bump github.com/bluenviron/gortsplib/v3 from 3.6.5 to 3.6.6 (#1886) 2023-05-31 22:14:34 +02:00
Victor 052da51af3
Add WebRTC stream id to whep response headers (#1879)
* Add WebRTC stream id to whep response headers

* change header name from UUID to ID

* add tests

---------

Co-authored-by: Victor Vitkovskiy <victor.vitkovskiy@mirasys.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-05-31 18:24:06 +02:00
Alessandro Ros 210603d7c4
update documentation (#1885) 2023-05-31 18:16:39 +02:00
dependabot[bot] 0cccfa1928
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#1880)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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>
2023-05-30 21:13:20 +02:00
dependabot[bot] 5fd29f9fbb
build(deps): bump github.com/bluenviron/gortsplib/v3 from 3.6.4 to 3.6.5 (#1878) 2023-05-29 21:42:02 +02:00
Alessandro Ros ce1d2abc15
fix using multicast when a single interface doesn't support it (#1874) 2023-05-28 18:12:32 +02:00
Alessandro Ros af324c9e91
rpi camera: allow using decimal FPS (#1743) (#1873) 2023-05-28 17:29:37 +02:00
Alessandro Ros 89ebc83993
update golangci-lint (#1870) 2023-05-28 17:18:16 +02:00
Alessandro Ros 22f05e97e8
replace math/rand with crypto/rand (#1872) 2023-05-28 17:10:40 +02:00
Alessandro Ros 7d04742426
restore sending session ID to external authentication (#1871)
this fixes a regression introduced in v0.23.0
2023-05-28 13:45:19 +02:00
Alessandro Ros 128f2d3e20
print error that caused an external command to exit (#1869) 2023-05-27 19:28:07 +02:00
Alessandro Ros 06cc28b372
add explicit instructions on how to run an executable in the current folder (#1867) 2023-05-27 18:20:17 +02:00
Alessandro Ros a0b973963d
allow using special characters in external commands (#1652) (#1868)
on Windows, when using cmd.exe or a bat file as external command.
2023-05-27 18:20:06 +02:00
dependabot[bot] 27a2418663
build(deps): bump github.com/pion/webrtc/v3 from 3.2.6 to 3.2.8 (#1862) 2023-05-24 20:19:13 +02:00
Alessandro Ros 99aa0d0ac9
webrtc: fix WHIP/WHEP implementation (#1857) (#1861)
offers and answers are now encoded in SDP in place of JSON; Location
header is set by the server.

This fixes compatibility with GStreamer and whipsink
2023-05-24 17:06:06 +02:00
dependabot[bot] 834cade788
build(deps): bump github.com/pion/webrtc/v3 from 3.2.4 to 3.2.6 (#1856)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.2.4 to 3.2.6.
- [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/v3.2.4...v3.2.6)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/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>
2023-05-22 21:38:40 +02:00
dependabot[bot] e6b13a7d55
build(deps): bump github.com/bluenviron/gohlslib from 0.2.4 to 0.2.5 (#1855) 2023-05-22 20:17:03 +02:00
dependabot[bot] 5f5345871e
build(deps): bump github.com/pion/ice/v2 from 2.3.4 to 2.3.5 (#1854) 2023-05-22 20:16:48 +02:00
Alessandro Ros 65f617aa7c
api: allow using paths/list when a path is being deleted (#1849) 2023-05-20 11:11:26 +02:00
Alessandro Ros 1889641c8c
webrtc: add POST and PATCH methods to Access-Control-Allow-Methods (#1848) 2023-05-20 11:10:14 +02:00
Alessandro Ros 1fe22a8141
update gortsplib (#1846) 2023-05-20 11:05:57 +02:00
Alessandro Ros 766260f8dd
fix usage of Access-Control-Expose-Headers (#1847) 2023-05-20 10:59:44 +02:00
mrlt8 79cbf622a2
Expose E-Tag, Accept-Patch and Link headers for cross-origin WHIP/WHEP requests (#1841) 2023-05-20 10:51:19 +02:00
dependabot[bot] 26c0e513de
build(deps): bump github.com/pion/interceptor from 0.1.16 to 0.1.17 (#1844) 2023-05-19 22:06:59 +02:00
dependabot[bot] 70734387f0
build(deps): bump github.com/pion/webrtc/v3 from 3.2.3 to 3.2.4 (#1843) 2023-05-19 22:06:11 +02:00
Alessandro Ros cefa16849e
apidocs: fix method of /get endpoints (#1835) 2023-05-19 00:20:22 +02:00
Alessandro Ros 6e5f87f65e
hls: fix 404 error when hlsAlwaysRemux and sourceOnDemand are both true (#1818) (#1834) 2023-05-18 23:14:18 +02:00
dependabot[bot] 6cb75720e2
build(deps): bump github.com/pion/webrtc/v3 from 3.2.1 to 3.2.3 (#1832)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.2.1 to 3.2.3.
- [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/v3.2.1...v3.2.3)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/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>
2023-05-18 20:22:54 +02:00
Alessandro Ros 6cb3ff0d55
api: sort results of /list endpoints (#1828) 2023-05-18 20:17:04 +02:00
dependabot[bot] cbc0cb296f
build(deps): bump github.com/pion/ice/v2 from 2.3.3 to 2.3.4 (#1833)
Bumps [github.com/pion/ice/v2](https://github.com/pion/ice) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/pion/ice/releases)
- [Changelog](https://github.com/pion/ice/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/ice/compare/v2.3.3...v2.3.4)

---
updated-dependencies:
- dependency-name: github.com/pion/ice/v2
  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>
2023-05-18 20:15:50 +02:00
dependabot[bot] a4427905d8
build(deps): bump github.com/bluenviron/gortsplib/v3 from 3.6.2 to 3.6.3 (#1831)
Bumps [github.com/bluenviron/gortsplib/v3](https://github.com/bluenviron/gortsplib) from 3.6.2 to 3.6.3.
- [Commits](https://github.com/bluenviron/gortsplib/compare/v3.6.2...v3.6.3)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/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>
2023-05-18 20:15:40 +02:00
Alessandro Ros e10055ad69
api: add item count to /list endpoints (#1813) (#1829) 2023-05-18 20:05:59 +02:00
Alessandro Ros 13fb559f5f
fix race condition in TestMetrics (#1830) 2023-05-18 20:05:35 +02:00
Alessandro Ros 330a9e027c
fix race condition in tests (#1826) 2023-05-18 19:16:07 +02:00
Alessandro Ros 67672ea9c6
api: fix wrong pageCount in /list endpoints (#1813) (#1824) 2023-05-18 18:59:51 +02:00
Alessandro Ros 581a840771
fix missing H264/H265 keyframe warning message (#1825) 2023-05-18 18:00:53 +02:00
Alessandro Ros b93eed64bc
api: add /get endpoints (#1577) (#1823)
this allows to get entities by ID or name after /list endpoints were
changed in v0.23.0.
2023-05-18 15:07:47 +02:00
Alessandro Ros bbd8f006fe
rtmp: fix crash when publishing video-only tracks (#1819) (#1822)
this fixes a regression introduced in v0.23.0.
2023-05-18 15:05:26 +02:00