f9ce572691
support assigning paths to different configurations without closing stream ( #4576 )
...
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com >
2025-06-03 21:03:30 +02:00
Alessandro Ros and GitHub
c21c969a8c
revert #4583 ( #4606 )
...
This reverts commit 500d18b6c6 .
2025-06-03 20:27:53 +02:00
Alessandro Ros and GitHub
500d18b6c6
rtmp: fix timeout when publishing with GLive T80 ( #4002 ) ( #4583 )
2025-06-03 18:26:00 +02:00
Alessandro Ros and GitHub
adf6ca9f90
delete paths that belong to a new configuration ( #4013 ) ( #4568 )
...
when a new configuration is pushed with either API or hot reloading,
the server now checks whether existing paths belong to a new
configuration. If they do, these paths are deleted.
2025-05-27 22:02:37 +02:00
Alessandro Ros and GitHub
1b9dfbd367
rtmp: support connecting to sources that require standard credentials ( #4530 )
2025-05-15 14:23:03 +02:00
Alessandro Ros and GitHub
74bfb988d7
allow disabling JWT in HTTP query parameters ( #4518 )
2025-05-11 10:21:08 +02:00
Alessandro Ros and GitHub
db3c2f8cae
add authJWTJWKSFingerprint ( #4409 ) ( #4514 )
2025-05-10 16:12:35 +02:00
Alessandro Ros and GitHub
a85d8f1391
rtmp: fix connect command when reading ( #4512 )
...
when reading, the "connect" command should not contain fpad,
capabilities, audioCodecs, videoCodecs, videoFunction.
2025-05-10 15:26:48 +02:00
Alessandro Ros and GitHub
defee1eed9
hls: fix toggling hlsAlwaysRemux after server is started ( #4503 )
...
When hlsAlwaysRemux was switched from false to true, through API or hot
reloading, muxers of existing paths were not created. This fixes the
issue.
2025-05-09 22:50:11 +02:00
1827e062bd
add authJWTExclude to exclude actions when using JWT ( #3431 )
...
* Added authJWTExclude to allow exclusion of actions while using the JWT authentication method
* add test
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com >
2025-04-25 19:55:11 +02:00
Alessandro Ros and GitHub
dd9a5caa7b
fix getting version from .git folder ( #4430 )
2025-04-14 12:31:48 +02:00
Alessandro Ros and GitHub
8ce49727d6
rpi: support exposing a secondary stream from the same camera ( #4426 )
2025-04-14 11:56:08 +02:00
Alessandro Ros and GitHub
14f1daa02a
move static source handler into dedicated package ( #4427 )
2025-04-13 21:35:12 +02:00
Alessandro Ros and GitHub
986e270862
count and log all discarded frames, decode errors, lost packets ( #4363 )
...
Discarded frames, decode errors and lost packets were logged
individually, then there was a mechanism that prevented more than 1 log
entry per second from being printed, resulting in inaccurate reports.
Now discarded frames, decode errors and lost packets are accurately
counted, and their count is printed once every second.
2025-03-25 21:59:58 +01:00
Alessandro Ros and GitHub
65a2f63081
fix getting MediaMTX version with go-gin ( #4367 )
2025-03-25 21:41:38 +01:00
Alessandro Ros and GitHub
416ac1357e
bump mediacommon and gortsplib ( #4364 )
2025-03-24 17:25:18 +01:00
1069e131b0
allow to customize syslog prefix ( #4356 )
...
Co-authored-by: Кадышев Вячеслав <v.kadyshev@dssl.ru >
2025-03-24 15:54:33 +01:00
Alessandro Ros and GitHub
b329c4bbe8
replace New* with Initialize() ( #4345 )
2025-03-16 15:34:53 +01:00
Alessandro Ros and GitHub
371b9585a6
change error message when stream is not found ( #4301 )
...
Switch from 'no one is publishing to path' to 'no stream is available
on path' since the stream might be provided from a static source too.
2025-03-03 18:09:22 +01:00
Alessandro Ros and GitHub
c692f3b78c
webrtc: rewrite WHIP client ( #4299 )
2025-03-01 17:01:57 +01:00
Alessandro Ros and GitHub
386be42784
rtsp: rewrite authentication around ServerConn.VerifyCredentials ( #4267 )
2025-02-18 17:54:13 +01:00
Alessandro Ros and GitHub
d822c2a200
rtsp: support using relative URLs in sourceRedirect ( #4260 )
2025-02-18 15:23:07 +01:00
Alessandro Ros and GitHub
2745527264
prevent useless path manager reload ( #4264 )
2025-02-18 15:18:45 +01:00
Alessandro Ros and GitHub
244da930a1
switch to mediacommon/v2 ( #4259 )
2025-02-17 14:54:58 +01:00
Alessandro Ros and GitHub
eeb83f9a56
record: fix crash when recordDeleteAfter is 0 and API is called ( #4250 ) ( #4254 )
2025-02-14 11:53:16 +01:00
Alessandro Ros and GitHub
e8e21bfa42
do not allocate recordcleaner.Cleaner when not needed ( #4232 )
2025-02-07 17:11:20 +01:00
Jean-Philippe Bergeron and GitHub
e8297478f3
Configurable webrtcSTUNGatherTimeout ( #4221 )
2025-02-07 16:34:17 +01:00
c6a9d81d4c
build(deps): bump github.com/bluenviron/mediacommon ( #4193 )
...
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon ) from 1.13.4-0.20250119173005-20b296ab1174 to 1.13.4.
- [Commits](https://github.com/bluenviron/mediacommon/commits/v1.13.4 )
---
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>
2025-01-24 11:04:08 +01:00
Alessandro Ros and GitHub
8f6267deb8
bump pion/webrtc to v4 ( #4145 )
2025-01-13 23:19:29 +01:00
Alessandro Ros and GitHub
d4c29f8283
webrtc: switch to recvonly transceivers ( #4059 ) ( #4108 )
...
This fixes compatibility with devices that support decoding AV1 but
don't support encoding it.
This was previously impossible to achieve due to a bug that prevented
video from being displayed when recvonly transceivers were in use and
audio was not present.
2025-01-04 16:36:03 +01:00
Alessandro Ros and GitHub
b49acb1e00
accept durations expressed as days (i.e. '1d') ( #4094 )
2025-01-02 12:44:15 +01:00
Alessandro Ros and GitHub
8cbbbc05c3
rtmp: support additional Enhanced-RTMP features ( #3685 ) ( #4088 )
...
new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
2025-01-02 12:44:01 +01:00
Alessandro Ros and GitHub
df3362aef8
warn users if deprecated parameters are being used ( #4080 )
2024-12-25 19:28:54 +01:00
Alessandro Ros and GitHub
dfb792eb90
rtsp: rename encryption, protocols, serverKey, serverCert into rtspEncryption, rtspProtocols, rtspServerKey, rtspServerCert ( #4078 )
2024-12-25 18:26:14 +01:00
Alessandro Ros and GitHub
8cb584b514
api, metrics: fix RTC lowercase in webRTCSession and webRTCSource ( #4076 )
2024-12-25 17:47:24 +01:00
Alessandro Ros and GitHub
28970b323e
fix MTX_CONN_TYPE value with RTSP connections ( #3967 ) ( #4075 )
2024-12-25 17:42:19 +01:00
Alessandro Ros and GitHub
8a808ac0f6
api: add 'session' field to RTSPConn ( #3974 ) ( #4074 )
2024-12-25 16:17:53 +01:00
Alessandro Ros and GitHub
57addb1cc2
api, metrics: add additional RTSP statistics ( #3312 ) ( #4073 )
2024-12-25 15:43:41 +01:00
cf01683168
build(deps): bump github.com/datarhei/gosrt from 0.7.0 to 0.8.0 ( #3992 )
...
* build(deps): bump github.com/datarhei/gosrt from 0.7.0 to 0.8.0
Bumps [github.com/datarhei/gosrt](https://github.com/datarhei/gosrt ) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/datarhei/gosrt/compare/v0.7.0...v0.8.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 >
* fix tests
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com >
2024-12-11 00:42:16 +01:00
Alessandro Ros and GitHub
6188ee1886
fix wrong -dirty prefix in version ( #3869 )
2024-10-12 22:24:40 +02:00
Alessandro Ros and GitHub
f231837591
warn instead of exiting when it is not possible to get version from git ( #3857 )
2024-10-09 21:57:05 +02:00
database64128 and GitHub
737ab9d59a
fix setting version in Arch Linux package ( #3852 )
2024-10-09 21:26:11 +02:00
Alessandro Ros and GitHub
1a6547f13b
restore pprof service ( #3848 ) ( #3851 )
2024-10-08 17:06:47 +02:00
Alessandro Ros and GitHub
c8cdb77fe0
fix version reporting with --version ( #3846 ) ( #3847 )
2024-10-08 09:41:38 +02:00
Alessandro Ros and GitHub
23002d9f5f
route original timestamps without converting to durations ( #3839 )
...
This improves timestamp precision.
2024-10-07 17:59:32 +02:00
Alessandro Ros and GitHub
c71694741e
show right server version when server is compiled from source ( #3409 )
2024-10-05 23:10:14 +02:00
Alessandro Ros and GitHub
4c3ac34425
fix memory leak in case of errors during initialization of a reader ( #3831 )
2024-10-05 00:49:44 +02:00
Alessandro Ros and GitHub
79bb340994
remove debug instruction ( #3780 )
2024-09-15 23:35:47 +02:00
Alessandro Ros and GitHub
65d04c33e1
bump gortsplib ( #3779 )
2024-09-15 23:32:33 +02:00
Alessandro Ros and GitHub
6a38c87a5b
hls, webrtc: add FromStream / ToStream ( #3752 )
2024-09-09 12:59:23 +02:00