Commit Graph

2055 Commits

Author SHA1 Message Date
dependabot[bot]
2c857fc329
build(deps): bump golang.org/x/crypto from 0.20.0 to 0.21.0 (#3103)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/crypto/compare/v0.20.0...v0.21.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-03-05 18:40:47 +01:00
dependabot[bot]
2428e53579
build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.2.5 to 3.2.7 (#3105)
Bumps [github.com/MicahParks/keyfunc/v3](https://github.com/MicahParks/keyfunc) from 3.2.5 to 3.2.7.
- [Release notes](https://github.com/MicahParks/keyfunc/releases)
- [Commits](https://github.com/MicahParks/keyfunc/compare/v3.2.5...v3.2.7)

---
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-03-05 18:40:29 +01:00
dependabot[bot]
628e96e9b8
build(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.0 to 5.2.1 (#3104)
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.0...v5.2.1)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
  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-03-05 18:40:18 +01:00
dependabot[bot]
69383137bf
build(deps): bump github.com/pion/sdp/v3 (#3102)
Bumps [github.com/pion/sdp/v3](https://github.com/pion/sdp) from 3.0.7-0.20240105013511-011e5e0cda6f to 3.0.7.
- [Release notes](https://github.com/pion/sdp/releases)
- [Changelog](https://github.com/pion/sdp/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/sdp/commits/v3.0.7)

---
updated-dependencies:
- dependency-name: github.com/pion/sdp/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-03-05 18:34:52 +01:00
Daniel Lorenzo
bb46640998
Correction for missing go generate in run makefile (#3100) 2024-03-05 15:28:56 +01:00
dependabot[bot]
3eb35b26b9
build(deps): bump golang.org/x/term from 0.17.0 to 0.18.0 (#3098)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/term/compare/v0.17.0...v0.18.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-03-04 19:35:18 +01:00
dependabot[bot]
26f4cb81d4
build(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0 (#3099)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sys/compare/v0.17.0...v0.18.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-03-04 19:08:13 +01:00
Alessandro Ros
dec395cce8
update dependencies (#3096) 2024-03-04 14:29:34 +01:00
Alessandro Ros
9c6ba7e2c7
New authentication system (#1341) (#1992) (#2205) (#3081)
This is a new authentication system that covers all the features exposed by the server, including playback, API, metrics and PPROF, improves internal authentication by adding permissions, improves HTTP-based authentication by adding the ability to exclude certain actions from being authenticated, adds an additional method (JWT-based authentication).
2024-03-04 14:20:34 +01:00
dependabot[bot]
765d29fc8e
build(deps): bump github.com/pion/rtcp from 1.2.13 to 1.2.14 (#3089) 2024-03-01 20:27:58 +01:00
dependabot[bot]
a2518845f6
build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#3090) 2024-03-01 20:27:34 +01:00
Alessandro Ros
44918fce0d
when stopping hooks, stop all their subprocesses too (#3004) (#3087) 2024-02-29 22:42:11 +01:00
dependabot[bot]
a40ca33300
build(deps): bump golang.org/x/crypto from 0.19.0 to 0.20.0 (#3078)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/crypto/compare/v0.19.0...v0.20.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-02-27 18:56:32 +01:00
github-actions[bot]
a0be4ca05f
bump hls.js to v1.5.7 (#3072)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-02-27 16:12:39 +01:00
Alessandro Ros
b6db3121b5
rtsp: add random value to timestamp of tracks from other protocols (#3071) 2024-02-26 00:41:05 +01:00
Alessandro Ros
da7c5744b1
rtmp: add new AMF0 encoder and encoder (#3069)
This improves performance, security and removes a dependency.
2024-02-24 19:11:42 +01:00
Alessandro Ros
e06155b9b0
update README (#3053) 2024-02-21 20:11:58 +01:00
Alessandro Ros
c7bdcea741
move RTSP tests into internal/servers/rtsp (#3049) 2024-02-20 19:35:35 +01:00
Dan Bason
e8b19b82d5
in hooks, allow replacing placeholders with environment (#3044) 2024-02-19 09:00:58 +01:00
Alessandro Ros
34dbcfb508
move WebRTC tests into internal/servers/webrtc (#3043) 2024-02-18 22:15:08 +01:00
Alessandro Ros
a52f550ee6
webrtc: return an error when proxying stream with no tracks (#3042) 2024-02-18 21:58:11 +01:00
Alessandro Ros
6e721201ed
remove double 'v' from hls.js bump messages (#3040) 2024-02-18 17:42:27 +01:00
github-actions[bot]
679bad7fbf
bump hls.js to v1.5.6 (#3038)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-02-18 17:37:24 +01:00
Alessandro Ros
9e5de737f0
move SRT tests into internal/servers/srt (#3037) 2024-02-17 20:42:41 +01:00
Alessandro Ros
ad58efe47d
move RTMP tests into internal/servers/rtmp (#3035) 2024-02-16 23:27:27 +01:00
Spencer Lowe
e5e029a7f4
srt: add additional metrics (#2962)
* first attempt at the srt metrics

* Updated variables to better match mediamtx

* Prometheus metrics for SRT

* Update readme for SRT metrics

* Switch openapi to number from float

* SRT metrics metrics response fix

* Make the metric test less strict, and nolint line length on the SRT metrics struct

* remove nolint

* move BytesSent and BytesReceived into APISRTConnMetrics

* merge APISRTConn and APISRTConnMetrics

* improve tests

---------

Co-authored-by: slowe <slowe@clairglobal.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-02-16 14:22:30 +01:00
dependabot[bot]
970c73639f
build(deps): bump github.com/bluenviron/mediacommon from 1.9.1 to 1.9.2 (#3030)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.9.1 to 1.9.2.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.9.1...v1.9.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-02-15 18:39:05 +01:00
Alessandro Ros
e46a124eb7
update documentation (#3025) 2024-02-15 12:31:28 +01:00
Alessandro Ros
942ecf43a4
fix double 'v' in automatic hls.js bump commits (#3020) 2024-02-14 12:00:36 +01:00
github-actions[bot]
992a8082b8
bump hls-js to vv1.5.5 (#3019)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-02-14 11:58:44 +01:00
Alessandro Ros
ba69241377
hls: stop spamming 'stream doesn't contain any supported codec' when hlsAlwaysRemux is true (#3018) 2024-02-13 23:36:40 +01:00
Alessandro Ros
1ae3240b91
hls: fix crash when muxer is being recreated, improve performance (#3017) 2024-02-13 23:32:15 +01:00
Alessandro Ros
b6eaa6bc18
move test utilities into 'test' (#3016)
* move test utilities into 'test'

* rename newEmptyTimer into emptyTimer
2024-02-13 18:49:27 +01:00
Alessandro Ros
c2883f2ce9
hls: when alwaysRemux is true, prevent clients from creating muxers (#3015) 2024-02-13 17:37:03 +01:00
Alessandro Ros
3161e73a58
rename httpserv into httpp (#3014) 2024-02-13 13:04:56 +01:00
Alessandro Ros
487f92ac55
hls: in logs, store both ip and port of incoming requests (#3013) 2024-02-12 22:44:44 +01:00
Alessandro Ros
df3dfea132
fix compilation with Windows and git autocrlf (#3010) (#3011) 2024-02-12 18:13:01 +01:00
Alessandro Ros
9eb97ad3a0
remove hls.js from the repository and restore plain MIT license (#3008) 2024-02-12 00:31:13 +01:00
Alessandro Ros
fcf649cdaf
tests: make sure that dates with decimal seconds can be parsed correctly (#3007) 2024-02-12 00:20:35 +01:00
github-actions[bot]
1b13018321
bump hls-js to v1.5.4 (#2999)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-02-08 21:42:25 +01:00
dependabot[bot]
e9f26f32c4
build(deps): bump golang.org/x/crypto from 0.18.0 to 0.19.0 (#3002)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.19.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-02-08 21:41:48 +01:00
Alessandro Ros
22a589b724
stop logging HTTP requests twice (#2993) 2024-02-05 22:26:33 +01:00
Alessandro Ros
b92c8c2613
update dependencies (#2989) 2024-02-05 00:02:28 +01:00
Alessandro Ros
0332ba59a0
api: add endpoints for recording management (#2901) (#2988) 2024-02-04 23:51:51 +01:00
Alessandro Ros
5e27304935
apidocs: group operations by using tags (#2987) 2024-02-04 21:22:13 +01:00
Alessandro Ros
695e327a03
playback: make 'format' parameter optional (#2980) 2024-02-03 16:11:09 +01:00
Alessandro Ros
de9a456e98
rename 'API' into 'Control API' (#2981) 2024-02-03 16:08:57 +01:00
Alessandro Ros
ff70f9022e
playback: accept durations written in seconds (#2979) 2024-02-03 16:05:39 +01:00
Alessandro Ros
e6bf095a05
playback: add /list endpoint to list available timespans (#2978) 2024-02-03 15:54:07 +01:00
Alessandro Ros
4553fc267c
hls, webrtc: in web page, add shadow to messages (#2959) 2024-02-03 11:31:01 +01:00