Commit Graph

23 Commits

Author SHA1 Message Date
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
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
94e69f9c7f update golangci-lint 2021-05-23 18:50:50 +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
a6ae5f79de auth: rename client into sender, server into validator 2020-12-31 17:22:54 +01:00