Alessandro Ros
376fb9e821
replace New* with Initialize ( #723 )
2025-03-16 13:58:35 +01:00
Alessandro Ros
55556f1ecf
add ServerConn.VerifyCredentials() ( #555 )
2025-02-18 17:39:04 +01:00
Alessandro Ros
3409f00c90
disable VerifyMethodDigestSHA256 unless explicitly set ( #702 )
2025-02-18 15:16:39 +01:00
Alessandro Ros
46374d3815
remove useless test lines ( #701 )
2025-02-18 15:10:52 +01:00
Alessandro Ros
885a9975ef
rename auth.Validate into auth.Verify ( #698 )
2025-02-14 11:34:55 +01:00
Alessandro Ros
92cf812d01
improve fuzz tests ( #592 )
2024-08-01 16:33:04 +02:00
Alessandro Ros
ef60c8c755
improve fuzz tests ( #571 )
2024-05-17 19:19:15 +02:00
Alessandro Ros
f283abc2e7
fix authentication when algorithm field is not supported ( #558 )
...
(https://github.com/bluenviron/mediamtx/issues/3116 )
This fixes authentication issues with some TP-LINK cameras.
2024-05-15 10:21:30 +02:00
Alessandro Ros
3bf4e80549
remove debug instruction from tests ( #562 )
2024-05-05 11:50:23 +02:00
Alessandro Ros
3f62e11795
simplify usage of auth.Validate ( #557 )
2024-05-03 22:42:50 +02:00
Alessandro Ros
24ed937861
update golangci-lint ( #535 )
2024-03-19 12:50:26 +01:00
Alessandro Ros
f040e20ac4
support authenticating with SHA-256 digest ( #524 )
2024-02-22 19:12:17 +01:00
Alessandro Ros
c10f7aaedb
split headers.Authenticate and headers.Authorization ( #523 )
2024-02-22 13:19:31 +01:00
Alessandro Ros
01b3bfc6ab
move url.URL into base.URL ( #459 )
2023-11-07 16:51:45 +01:00
aler9
ca87733ded
remove suffix from new functions
2023-08-16 13:26:17 +02:00
aler9
e26ccf0858
remove deprecated functions
2023-08-16 13:26:17 +02:00
aler9
80106144e6
bump to v4
2023-08-16 13:26:17 +02:00
aler9
8ef42a27e9
restore API compatibility
2023-07-31 10:07:25 +02:00
aler9
8b8b52e689
return an error in case the random number generator fails
2023-07-30 22:40:34 +02:00
Alessandro Ros
49d0d56367
fix compatibility with Mercury cameras ( #271 ) ( #275 )
2023-05-08 13:14:45 +02:00
Alessandro Ros
3d5496173d
restore Validator.ValidateRequest() method ( #273 )
2023-05-07 19:38:51 +02:00
Alessandro Ros
7c67221494
auth: add Validate() and deprecate Validator{} ( #272 )
2023-05-07 19:34:20 +02:00
Alessandro Ros
04f5a4041c
change owner ( #217 )
2023-03-31 12:34:07 +02:00
aler9
46cbb885b7
improve coverage
2022-12-11 23:40:01 +01:00
Alessandro Ros
a1396206b5
convert Tracks into Medias and Formats ( #155 )
...
* split tracks from medias
* move tracks into dedicated package
* move media into dedicated package
* edit Medias.Marshal() in order to return SDP
* add medias.Find() and simplify examples
* improve coverage
* fix rebase errors
* replace TrackIDs with MediaIDs
* implement media-specific and track-specific callbacks for reading RTCP and RTP packets
* rename publish into record, read into play
* add v2 tag
* rename tracks into formats
2022-12-11 22:03:22 +01:00
aler9
f3b0fc69b4
rename Read / Write into Unmarshal / Marshal when needed
...
Read() / Write() are used to read / write from streams, while
Unmarshal() / Marshal() are used to decode / encode from / to bytes.
2022-06-27 17:27:16 +02:00
aler9
2fa3148a27
move URL into dedicated folder
2022-06-05 01:27:19 +02:00
aler9
78bfa5d6a8
use require.EqualError() in tests
2021-11-03 17:52:45 +01:00
aler9
1d5f3c92ae
add VLC authentication workaround
2021-10-30 14:47:58 +02:00
aler9
2e6926a97e
improve performance
2021-10-30 11:54:23 +02:00
aler9
d07e93f245
auth: simplify
2021-05-30 12:52:46 +02:00
aler9
9007f20af8
client: fix authentication during SETUP, preventing 401s during protocol switches ( https://github.com/aler9/rtsp-simple-server/issues/392 )
2021-05-30 12:00:35 +02:00
aler9
f908a15a1e
rename tests
2021-05-26 20:37:18 +02:00
aler9
94e69f9c7f
update golangci-lint
2021-05-23 18:50:50 +02:00
aler9
70c0dc7800
remove base.MustParseURL
2021-05-23 16:48:56 +02:00
aler9
a7436e581b
auth: add negative tests
2021-05-11 10:27:31 +02:00
aler9
bc0d9d4bf2
headers: rename Auth into Authenticate
2021-05-11 10:27:24 +02:00
aler9
034c43202e
headers: add authorization header
2021-05-10 20:43:23 +02:00
aler9
bc18883084
update golangci-lint
2021-03-20 14:14:34 +01:00
aler9
25772271db
headers: rewrite initializers as members of their structs
2021-03-20 09:55:04 +01:00
aler9
d54a602e20
rewrite URL functions
2021-01-17 22:46:11 +01:00
aler9
64422b391e
remove URL.RemoveControlAttribute()
2021-01-17 21:26:29 +01:00
aler9
9bd587e576
support hashed credentials
2020-12-31 19:27:41 +01:00
aler9
b2f56c9814
auth: change NewSender signature
2020-12-31 17:32:19 +01:00
aler9
a6ae5f79de
auth: rename client into sender, server into validator
2020-12-31 17:22:54 +01:00
aler9
775c512465
remove pointer from Write() methods
2020-12-16 11:08:55 +01:00
aler9
71861bd132
switch to golangci-lint
2020-12-05 18:44:05 +01:00
aler9
c31922be16
move subfolders in pkg/
2020-11-15 17:26:09 +01:00