Commit Graph

21 Commits

Author SHA1 Message Date
aler9
38b24b8e26 rename 'track' references into 'format' 2022-12-13 18:06:41 +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
e262385062 client: remove StartReading, StartReadingAndWait 2022-07-09 17:08:37 +02:00
aler9
f4efe9ceb5 client: parse incoming RTP/H264 packets; fix RTCP receiver jitter 2022-04-08 16:45:09 +02:00
aler9
cec5326ccf downgrade pion/rtp to v1 (#110) (#113) 2022-04-01 11:19:43 +02:00
aler9
e12b22ae77 fix encoding of RTP packets with padding
this fixes a SIGSEGV with GStreamer
2022-03-08 12:47:55 +01:00
aler9
b7df36d4ad client: decode and encode RTP/RTCP packets 2022-02-18 00:03:39 +01:00
aler9
79fdb2b7b4 use log.Print instead of fmt.Print in examples 2022-01-31 18:39:36 +01:00
aler9
922d74b940 client: remove Client from OnPacket* arguments 2021-11-12 18:01:27 +01:00
aler9
e13b4289ec client: simplify API, add StartReadingWait 2021-11-12 18:01:27 +01:00
aler9
a22116e66e client: turn ReadFrames into OnPacketRTP, OnPacketRTCP 2021-11-12 18:01:27 +01:00
aler9
d1d766658b client: merge Client and ClientConn 2021-11-12 18:01:27 +01:00
aler9
fdb0d70870 client: remove default client 2021-11-12 18:01:27 +01:00
aler9
7e978595b5 update examples 2021-11-01 10:39:31 +01:00
aler9
b9042282ab update doc 2021-09-23 20:03:53 +02:00
aler9
88608152cc rename buf into payload 2021-07-03 11:52:51 +02:00
aler9
a9995fb228 client: add range argument to clientconn.Play() 2021-05-28 18:11:18 +02:00
aler9
5eb82448a7 client: remove channel from ReadFrames() 2021-05-10 17:59:49 +02:00
aler9
c2d5ced43b improve example comments 2021-04-04 19:44:03 +02:00
aler9
f5c2308431 add client-read-h264 example 2021-03-07 17:29:45 +01:00
aler9
ebd06ddbe5 move examples in dedicated folders to follow conventions 2021-02-13 19:17:47 +01:00