Commit Graph

20 Commits

Author SHA1 Message Date
Alessandro Ros
ed078672e4 switch to mediacommon/v2 (#695) 2025-02-10 14:50:05 +01:00
Alessandro Ros
9da49cdf63 various performance improvements (#561) 2024-05-05 11:20:22 +02:00
Alessandro Ros
f9eb8e573b support detecting LPCM formats with payload types 10 and 11 (#496) 2024-01-07 13:01:36 +01:00
Alessandro Ros
a5db98521d discard invalid H264 parameters (#431)
(https://github.com/bluenviron/mediamtx/issues/2348)
2023-09-22 13:49:05 +02:00
Alessandro Ros
fc2a10a499 add AC-3 decoder and encoder (#427) 2023-09-19 22:15:39 +02:00
Alessandro Ros
747de35cbc fix compatibility with Annex-B encoded H264 SPS/PPS (#402) (#426) 2023-09-18 22:24:19 +02:00
Alessandro Ros
8f18a0d83b check SPS/PPS of H264/H265 SDPs (#394) 2023-09-01 18:31:52 +02:00
aler9
5d8f742d60 Merge branch 'main' into v4 2023-08-25 19:06:02 +02:00
aler9
5e5a21240d rename pkg/formats into pkt/format 2023-08-16 13:26:17 +02:00
Alessandro Ros
af3ed2bd83 merge format and formatdecenc into formats (#222) 2023-04-01 13:23:16 +02:00
Alessandro Ros
04f5a4041c change owner (#217) 2023-03-31 12:34:07 +02:00
Alessandro Ros
bc248c8e1d simplify FMTP decoding and encoding (#205) 2023-03-13 22:44:31 +01:00
Alessandro Ros
253be9913e update docs (#203) 2023-03-13 18:53:36 +01:00
aler9
aca56089c1 move codec-specific utilities into pkg/codecs 2022-12-27 17:19:56 +01:00
aler9
8320b1aceb improve coverage 2022-12-23 14:27:44 +01:00
Alessandro Ros
ae9dac0ad3 use random UUIDs as media IDs (#163)
* remove Medias.Clone(), Media.Clone(), Format.Clone()

* server: use random UUIDs as media IDs

* client: use random UUIDs as media IDs
2022-12-22 20:32:28 +01:00
aler9
60596c32d1 fix parsing of H264 tracks with empty sprop-parameter-sets 2022-12-13 19:02:01 +01:00
aler9
50d6b2e916 fix race condition when calling format.Clone() 2022-12-13 17:10:01 +01:00
aler9
0c13440721 rename rtpcodecs into formatdecenc 2022-12-11 22:56:59 +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