Commit Graph

16 Commits

Author SHA1 Message Date
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
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
aler9
80106144e6 bump to v4 2023-08-16 13:26:17 +02:00
aler9
98e6e8239e simplify tests 2023-08-14 16:56:54 +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
78bfa5d6a8 use require.EqualError() in tests 2021-11-03 17:52:45 +01:00
aler9
dbfc058f0c update golangci-lint 2021-09-09 23:05:50 +02:00
aler9
d8bf9b2307 improve coverage 2021-08-05 18:17:59 +02:00
aler9
f908a15a1e rename tests 2021-05-26 20:37:18 +02:00
aler9
53e8f32bd0 improve coverage 2021-05-22 17:18:09 +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