Commit Graph

13 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
aler9
d11fe222c3 add more efficient bit reader / writer 2022-06-24 16:41:01 +02:00
aler9
dc7d9d489d h264: support extracting DTS from nvenc (https://github.com/aler9/rtsp-simple-server/issues/989) 2022-06-22 20:08:41 +02:00
aler9
09865015c9 h264: move SPS bitstream restriction into dedicated struct 2022-06-22 13:58:49 +02:00
aler9
45f5107ae3 fix error 'wrong_nal_ref_idc' with some streams (https://github.com/aler9/rtsp-simple-server/issues/966) 2022-06-03 22:42:09 +02:00
aler9
d402026e0d h264: cleanup code 2022-06-02 10:34:53 +02:00
aler9
5ba5b6f951 h264: move timing info into dedicated struct 2022-06-02 10:28:44 +02:00
aler9
ea3903e109 h264: fix delta_pic_order_always_zero_flag parsing 2022-05-30 21:24:43 +02:00
aler9
7c2e3c03d1 h264: move SPS frame cropping into dedicated struct 2022-05-29 14:25:39 +02:00
aler9
3dd7007344 h264: support SPS with scaling matrices 2022-05-29 14:15:28 +02:00
aler9
91d1675c0c h264: fix FPS computation when NUmUnitsInTick != 1 2022-05-25 15:36:13 +02:00
aler9
19f57e4939 h264: add SPS.FPS() method 2022-05-01 11:56:19 +02:00
aler9
3bb6bb1a75 h264: add SPS parser 2022-04-24 22:02:35 +02:00