Commit Graph

33 Commits

Author SHA1 Message Date
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
Alessandro Ros
51b8063325 rtph264: return error in decoder if packetization-mode is 2 (#153) 2022-11-14 21:23:13 +01:00
Alessandro Ros
7951b2e4af allow to set NTP of outgoing packets in both client and server (#148) 2022-11-14 16:55:40 +01:00
aler9
9f4fea8a01 change track initialization method 2022-06-23 13:13:36 +02:00
aler9
bfe4e8cdaa automatically remux oversized RTP/H264 packets; drop parameter ReadBufferSize 2022-04-09 20:16:14 +02:00
aler9
3c104d3727 client: add parameter 'containsKeyFrame' to WritePacketRTP; fix RTCP sender reports 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
7182b5b4a1 simplify h264 publish examples 2022-03-20 11:52:44 +01:00
aler9
e7aca99c73 change signature of rtp encoders and decoders 2022-03-20 11:30:04 +01:00
aler9
ba99421e74 update docs 2022-03-18 16:55:19 +01:00
aler9
bf74ea8ec7 fix GStreamer capitalization 2022-03-15 11:42:52 +01: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
ad69a8957b support h264 tracks with extradata in sprop-parameter-sets 2022-01-30 15:51:49 +01:00
aler9
6d5bf0c1bb new track system 2022-01-30 15:51:49 +01:00
aler9
e13b4289ec client: simplify API, add StartReadingWait 2021-11-12 18:01:27 +01:00
aler9
d1d766658b client: merge Client and ClientConn 2021-11-12 18:01:27 +01:00
aler9
7ebbdbf093 client: split WriteFrame into WritePacketRTP and WritePacketRTCP 2021-11-12 18:01:27 +01:00
aler9
7e978595b5 update examples 2021-11-01 10:39:31 +01:00
aler9
cab3fe270e client: support publishing with opus 2021-10-30 15:45:13 +02:00
aler9
e7ab15750c server: replace SetuppedProtocol() with SetuppedTransport() 2021-10-22 17:40:18 +02:00
aler9
7735bcd9ec client: rename ClientProtocol into ClientTransport 2021-10-22 16:25:27 +02:00
aler9
b9042282ab update doc 2021-09-23 20:03:53 +02:00
aler9
359409aaf9 update docs 2021-08-25 23:28:07 +02:00
aler9
d744a2e0d3 change way tracks are initialized
A config object is now required to initialize tracks.
Config objects are provided for H264 and AAC.
This allows to pass parameters easily and treat AAC
parameters explicitly.
2021-08-25 19:16:51 +02:00
aler9
dde57ee568 remove ID and BaseURL from Track 2021-06-23 23:07:55 +02:00
aler9
9595e298f8 client: support reading with UDP-multicast 2021-06-18 17:47:25 +02:00
aler9
f1511952f8 examples: support ipv6 2021-06-06 12:40:49 +02:00
aler9
8846b9f5f5 rename ClientConf into Client 2021-05-04 16:51:20 +02:00
aler9
c2d5ced43b improve example comments 2021-04-04 19:44:03 +02:00
aler9
54a4859473 rtph264: fully rewrite, decode NALU timestamp, add Process(), add tests 2021-03-07 16:04:44 +01:00
aler9
ebd06ddbe5 move examples in dedicated folders to follow conventions 2021-02-13 19:17:47 +01:00