Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
aler9
80106144e6 bump to v4 2023-08-16 13:26:17 +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
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
d07e93f245 auth: simplify 2021-05-30 12:52:46 +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
25772271db headers: rewrite initializers as members of their structs 2021-03-20 09:55:04 +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