Alessandro Ros
0a8e6263a8
playback: increase sequence number of fMP4 parts ( #3200 )
2024-04-07 14:23:02 +02:00
Alessandro Ros
b64e082253
playback: decrease concatenation tolerance to 0.5 secs ( #3199 )
2024-04-07 13:51:23 +02:00
Alessandro Ros
c263fc6f7b
playback: fix concatenation of segments with multiple tracks ( #3198 )
...
the duration of segments was computed erroneously, since it was taking
into consideration the last track only. Now the duration of a segment
corresponds to the maximum duration among all tracks.
2024-04-07 12:48:47 +02:00
Alessandro Ros
50322fc14e
playback: do not concatenate segments with different tracks ( #3197 )
2024-04-06 20:01:23 +02:00
Dan Bason
87c0535823
Add option for ICE servers to be client only ( #3164 )
...
* Add option for ICE servers to be client only
* add clientOnly to configuration file and API docs
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-04-06 18:32:53 +02:00
dependabot[bot]
60e7d77e41
build(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0 ( #3192 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.22.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-04-06 18:21:04 +02:00
dependabot[bot]
56261cc5b2
build(deps): bump golang.org/x/term from 0.18.0 to 0.19.0 ( #3191 )
2024-04-04 19:39:00 +02:00
dependabot[bot]
f5d9fde604
build(deps): bump github.com/pion/sdp/v3 from 3.0.8 to 3.0.9 ( #3179 )
...
Bumps [github.com/pion/sdp/v3](https://github.com/pion/sdp ) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/pion/sdp/releases )
- [Changelog](https://github.com/pion/sdp/blob/master/.goreleaser.yml )
- [Commits](https://github.com/pion/sdp/compare/v3.0.8...v3.0.9 )
---
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-04-01 12:22:35 +02:00
dependabot[bot]
d578fef78f
build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.2.9 to 3.3.2 ( #3168 )
...
Bumps [github.com/MicahParks/keyfunc/v3](https://github.com/MicahParks/keyfunc ) from 3.2.9 to 3.3.2.
- [Release notes](https://github.com/MicahParks/keyfunc/releases )
- [Commits](https://github.com/MicahParks/keyfunc/compare/v3.2.9...v3.3.2 )
---
updated-dependencies:
- dependency-name: github.com/MicahParks/keyfunc/v3
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-04-01 12:20:55 +02:00
dependabot[bot]
0b9b02321c
build(deps): bump github.com/pion/rtp from 1.8.4 to 1.8.5 ( #3178 )
...
Bumps [github.com/pion/rtp](https://github.com/pion/rtp ) from 1.8.4 to 1.8.5.
- [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.4...v1.8.5 )
---
updated-dependencies:
- dependency-name: github.com/pion/rtp
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-04-01 12:18:50 +02:00
Mauricio Antunes
4666e5f427
Fix API version in docs ( #3180 )
2024-04-01 12:18:02 +02:00
dependabot[bot]
a540454332
build(deps): bump github.com/pion/interceptor from 0.1.25 to 0.1.27 ( #3171 )
...
Bumps [github.com/pion/interceptor](https://github.com/pion/interceptor ) from 0.1.25 to 0.1.27.
- [Release notes](https://github.com/pion/interceptor/releases )
- [Changelog](https://github.com/pion/interceptor/blob/master/.goreleaser.yml )
- [Commits](https://github.com/pion/interceptor/compare/v0.1.25...v0.1.27 )
---
updated-dependencies:
- dependency-name: github.com/pion/interceptor
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-27 11:59:59 +01:00
dependabot[bot]
ac14a2ff7c
build(deps): bump github.com/datarhei/gosrt from 0.5.7 to 0.6.0 ( #3154 )
...
Bumps [github.com/datarhei/gosrt](https://github.com/datarhei/gosrt ) from 0.5.7 to 0.6.0.
- [Commits](https://github.com/datarhei/gosrt/compare/v0.5.7...v0.6.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-03-19 19:27:03 +01:00
dependabot[bot]
a11403fb6b
build(deps): bump github.com/pion/rtp from 1.8.3 to 1.8.4 ( #3153 )
...
Bumps [github.com/pion/rtp](https://github.com/pion/rtp ) from 1.8.3 to 1.8.4.
- [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.3...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/pion/rtp
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-19 19:26:00 +01:00
Alessandro Ros
4e581af7a6
hls: fix directory creation when using hlsDirectory ( #3135 ) ( #3151 )
2024-03-19 14:09:25 +01:00
Alessandro Ros
1d4ea2cd9a
hls: fix freeze in case of muxing errors ( #3135 ) ( #3150 )
2024-03-19 14:01:14 +01:00
Alessandro Ros
c7dbb951f3
update golangci-lint ( #3149 )
2024-03-19 12:53:26 +01:00
dependabot[bot]
29f0ded9f1
build(deps): bump google.golang.org/protobuf from 1.30.0 to 1.33.0 ( #3139 )
...
Bumps google.golang.org/protobuf from 1.30.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 17:41:18 +01:00
dependabot[bot]
cc565865fe
build(deps): bump github.com/alecthomas/kong from 0.8.1 to 0.9.0 ( #3133 )
2024-03-13 08:31:53 +01:00
dependabot[bot]
158786373c
build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.2.8 to 3.2.9 ( #3136 )
...
Bumps [github.com/MicahParks/keyfunc/v3](https://github.com/MicahParks/keyfunc ) from 3.2.8 to 3.2.9.
- [Release notes](https://github.com/MicahParks/keyfunc/releases )
- [Commits](https://github.com/MicahParks/keyfunc/compare/v3.2.8...v3.2.9 )
---
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-12 22:24:11 +01:00
dependabot[bot]
6bcc7dcee0
build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.2.7 to 3.2.8 ( #3132 )
2024-03-11 23:51:55 +01:00
Alessandro Ros
24cc62e344
hls: decrease number of idle connections kept open after a reconnection ( #3128 )
2024-03-10 11:51:15 +01:00
Jonathan Martin
1989997fe1
webrtc: fix memory leak when WHEP track gathering fails and decrease count of idle HTTP connections ( #3124 )
...
* fix: whep gathering failure leaks peer connections
* fix: failure to create whep client leaks
when read fails, client is not closed
* fix: close idle connection with whip client
* fix: no link check on early whip client close
* move http.Client.CloseIdleConnections() outside WHIPClient
* automatically call WHEPClient.Close() in case of errors during WHEPClient.Read() or WHEPClient.Publish()
---------
Co-authored-by: Jonathan Martin <jonathan.martin@marss.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-03-10 11:33:00 +01:00
dependabot[bot]
f8d2343f7b
build(deps): bump github.com/pion/sdp/v3 from 3.0.7 to 3.0.8 ( #3120 )
...
Bumps [github.com/pion/sdp/v3](https://github.com/pion/sdp ) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/pion/sdp/releases )
- [Changelog](https://github.com/pion/sdp/blob/master/.goreleaser.yml )
- [Commits](https://github.com/pion/sdp/compare/v3.0.7...v3.0.8 )
---
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-08 11:15:04 +01:00
Jonathan Martin
732bf565bf
webrtc: fix deadlock when a WHEP source fails ( #3062 ) ( #3108 ) ( #3110 )
...
Co-authored-by: Jonathan Martin <jonathan.martin@marss.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-03-06 22:38:36 +01:00
Alessandro Ros
dd3b268346
do not switch to legacy authentication system when readUser, readPass, publishUser, publishPass are present but are empty ( #3113 )
2024-03-06 18:04:08 +01:00
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