github-actions[bot]
eeee743d6c
bump hls.js to v1.6.4 ( #4586 )
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-05-31 09:48:14 +02:00
github-actions[bot]
945b6d5cb3
bump hls.js to v1.6.3 ( #4584 )
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-05-30 09:17:15 +02:00
Alessandro Ros
189c99d5fc
improve tests ( #4581 )
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-05-29 20:37:44 +02:00
Alessandro Ros
402b8ff9c9
recorder, playback: support changing codec parameters without switching segment ( #4262 ) ( #4582 )
2025-05-29 20:37:12 +02:00
Alessandro Ros
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
Evan Wilson
631116d5ce
srt: set source not ready when reader exits ( #4467 )
2025-05-27 22:00:46 +02:00
Alessandro Ros
99f4c73e07
recorder: improve fMP4 splitting algorithm ( #4566 )
...
consider all tracks when deciding the splitting point.
2025-05-27 19:19:55 +02:00
Alessandro Ros
e799286f1c
recorder: fix segment duration when audio is in advance ( #4563 )
2025-05-27 15:28:30 +02:00
Alessandro Ros
7b977861ff
recorder: fix duration of first part of a segment ( #4562 )
...
when the first sample of the first part had a DTS different than the
start DTS of the segment, the starting DTS of the part was wrong, since
it was set to the segment start DTS.
2025-05-27 15:24:24 +02:00
Alessandro Ros
823697210e
webrtc: fix race condition after #4558 ( #4564 )
2025-05-27 15:17:31 +02:00
Alessandro Ros
5d203b4d98
webrtc: prevent routine leaks ( #4558 )
...
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
wait for all routines to exit before assuming a WebRTC connection is closed.
2025-05-26 11:33:46 +02:00
Alessandro Ros
5d4653ba4e
rtsp: fix authentication regression ( #4557 )
...
since #4267 it was impossible to perform authentication when protocol
is RTSP and credentials are hashed.
2025-05-26 11:08:27 +02:00
Tarık Erkan
e6a7a87c7f
Fix: gracefully handle fMP4 segments with missing or partial moof/mdat ( #4538 )
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-05-25 21:29:53 +02:00
Alessandro Ros
fff3b9b315
record: fix loss of audio samples during segment switch ( #4556 )
2025-05-25 21:29:33 +02:00
Alessandro Ros
01e6fedc36
playback: fix jerky video ( #4555 )
...
this happened when recording has B-frames, playback format is fmp4 and starting position doesn't correspond to a IDR frame.
2025-05-25 21:09:23 +02:00
Alessandro Ros
9a3bbda8f8
playback: fix error 404 when seeking before start of segment ( #4276 ) ( #4533 ) ( #4539 )
...
Fixes #4276
Replaces #4533
2025-05-25 18:50:19 +02:00
Alessandro Ros
fad64a87bd
bump golangci-lint ( #4550 )
2025-05-23 15:10:21 +02:00
Alessandro Ros
e707a9237d
improve tests, documentation ( #4549 )
2025-05-23 13:25:17 +02:00
Alessandro Ros
1b9dfbd367
rtmp: support connecting to sources that require standard credentials ( #4530 )
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-05-15 14:23:03 +02:00
Alessandro Ros
3b3b898358
fix error message ( #4522 )
2025-05-12 22:10:13 +02:00
Alessandro Ros
5013d585fc
allow using colon in path names ( #4377 ) ( #4519 )
2025-05-11 10:55:14 +02:00
Alessandro Ros
74bfb988d7
allow disabling JWT in HTTP query parameters ( #4518 )
2025-05-11 10:21:08 +02:00
Alessandro Ros
c17a6de2a6
parse HTTP username and password OR token, not both ( #4517 )
2025-05-11 10:20:57 +02:00
Alessandro Ros
f97213ae6e
support passing JWTs through the password field ( #4516 )
...
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
This is safer than passing JWTs through query parameters, unfortunately support is limited.
2025-05-10 22:54:24 +02:00
Alessandro Ros
c8348db52d
rename jwtRefresh into jwksRefresh ( #4515 )
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-05-10 21:14:20 +02:00
Alessandro Ros
d3976fbc15
do not ask for credentials when authentication method is JWT ( #4450 ) ( #4513 )
2025-05-10 16:20:22 +02:00
Alessandro Ros
db3c2f8cae
add authJWTJWKSFingerprint ( #4409 ) ( #4514 )
2025-05-10 16:12:35 +02:00
Alessandro Ros
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
github-actions[bot]
fd0f08e94a
bump mediamtx-rpicamera to v2.4.2 ( #4511 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
2025-05-10 14:45:25 +02:00
Dan Nicholls
7360981aa7
Feat: Add JWKS rotation API endpoint ( #4463 )
...
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
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-05-10 13:44:02 +02:00
Alessandro Ros
defee1eed9
hls: fix toggling hlsAlwaysRemux after server is started ( #4503 )
...
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
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
Alessandro Ros
de46a288ac
rpi: fix regression in RPI Docker image ( #4494 ) ( #4495 )
2025-05-06 17:25:22 +02:00
github-actions[bot]
ba2a29322b
bump mediamtx-rpicamera to v2.4.1 ( #4488 )
...
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
Co-authored-by: mediamtx-bot <bot@mediamtx>
2025-05-04 18:47:37 +02:00
Alessandro Ros
15fff95246
ensure unmarshaled entities can be marshaled back ( #4484 )
2025-05-04 11:34:05 +02:00
Alessandro Ros
d61994eeae
rpi: fix using camera when /usr/sbin is not in PATH ( #4479 )
2025-05-01 19:04:01 +02:00
Alessandro Ros
e83239fd0d
rpi: fix missing clock rate in secondary stream ( #4476 ) ( #4478 )
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-05-01 15:14:04 +02:00
Alessandro Ros
a0f5315549
support filtering interface and source IP in UDP sources ( #4178 ) ( #4464 )
2025-04-28 22:22:55 +02:00
Alessandro Ros
a348007607
support parsing JWT claims encoded as strings ( #3696 ) ( #4465 )
2025-04-28 22:22:42 +02:00
Dimitri Marechal
1827e062bd
add authJWTExclude to exclude actions when using JWT ( #3431 )
...
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
* 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
77c77c7f2f
webrtc: prevent payload type conflict in read page ( #4456 )
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-04-21 15:24:01 +02:00
Alessandro Ros
0c501e2507
webrtc: improve JavaScript classes ( #4455 )
...
* add close() method
* move support functions into classes as static methods
* convert arrow functions into standard functions
* make most methods private
* add JSDocs
2025-04-21 15:01:46 +02:00
Xiaobo Liu
44aa4ba50f
webrtc: simplify webrtcTurnSecretExpiration ( #4453 )
2025-04-21 14:21:45 +02:00
Alessandro Ros
dd9a5caa7b
fix getting version from .git folder ( #4430 )
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-04-14 12:31:48 +02:00
Alessandro Ros
189c2085db
fix cross-compilation of arm/arm64 ( #4429 )
2025-04-14 12:20:11 +02:00
Alessandro Ros
8ce49727d6
rpi: support exposing a secondary stream from the same camera ( #4426 )
2025-04-14 11:56:08 +02:00
Alessandro Ros
14f1daa02a
move static source handler into dedicated package ( #4427 )
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-04-13 21:35:12 +02:00
Alessandro Ros
4280eec265
rpi: make sure all parameters are 32-bit ( #4425 )
2025-04-13 19:13:26 +02:00
Alessandro Ros
b564dc9ff1
rtsp: emit log message when remuxing RTP packets ( #4422 )
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-04-13 10:21:46 +02:00
Alessandro Ros
14eb9f6175
improve tests ( #4423 )
2025-04-13 10:00:52 +02:00
Alessandro Ros
517ba4124c
restore support for using unix timestamp in record path ( #4330 ) ( #4417 )
2025-04-12 12:16:08 +02:00