Commit Graph

16 Commits

Author SHA1 Message Date
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
df01c7049d headers: remove debug instruction 2021-05-05 23:05:24 +02:00
aler9
178fe919ea headers: fix case in which a missing key was not detected 2021-05-04 17:22:59 +02:00
aler9
5847b507d1 headers: merge parsing of key-values 2021-04-04 15:04:49 +02:00
aler9
cbb47e158a headers: ignore non-standard keys (https://github.com/aler9/rtsp-simple-server/issues/336) 2021-04-04 12:18:13 +02:00
aler9
ab6826e6a7 headers: support RTP-Infos with spaces (https://github.com/aler9/rtsp-simple-server/issues/333) 2021-04-02 18:12:56 +02:00
aler9
d39996c824 support RTP-Info headers with paths instead of URLs (https://github.com/aler9/rtsp-simple-server/issues/250) 2021-03-29 22:00:14 +02:00
aler9
134201bc94 rtpaac: support encoding aggregated packets 2021-03-24 15:01:22 +01:00
aler9
7e9e266054 headers: support partial RTP-Infos 2021-03-23 21:20:43 +01:00
aler9
1c2509cb54 update golangci-lint 2021-03-20 16:15:38 +01:00
aler9
25772271db headers: rewrite initializers as members of their structs 2021-03-20 09:55:04 +01:00
aler9
82aed5cc6c headers: rename RTPInfo's RTPTime into Timestamp 2021-03-18 13:46:36 +01:00
aler9
5d271cc3b4 headers: add RTPInfo.Clone() 2021-03-14 15:25:02 +01:00
aler9
f6c26b5369 add RTP-Info header 2021-03-14 12:09:18 +01:00