Alessandro Ros
ec81d388d1
switch to v5 ( #890 )
...
* switch from v4 to v5
* remove deprecated entities
* remove "2" suffix from entities
* rename TransportProtocol into Protocol
2025-09-16 11:46:52 +02:00
Alessandro Ros
f3a865f815
in comments, use specification titles instead of URLs ( #830 )
2025-07-15 21:30:01 +02:00
Alessandro Ros
bfacd10d35
prevent decoding formats with zero clock rate or channels ( #770 )
2025-05-01 17:06:55 +02:00
Alessandro Ros
c0c275e6a6
expose number of lost packets without passing through an error ( #735 )
2025-03-24 16:39:55 +01:00
Alessandro Ros
fd4a9137cc
support multichannel Opus ( https://github.com/bluenviron/mediamtx/issues/3355 ) ( #572 )
2024-05-19 14:37:02 +02:00
Alessandro Ros
f9eb8e573b
support detecting LPCM formats with payload types 10 and 11 ( #496 )
2024-01-07 13:01:36 +01:00
aler9
5d8f742d60
Merge branch 'main' into v4
2023-08-25 19:06:02 +02:00
aler9
8b047b545b
decode RTP time globally
2023-08-17 13:41:01 +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
13fab2962e
make Opus SDP always return 48khz and 2 channels ( #204 )
...
RFC7587 mandates 48khz as sample rate and 2 channels inside the SDP.
These values can be dynamically adjusted by the stream, but they must
not be touched inside the SDP.
2023-03-13 22:03:49 +01:00
Alessandro Ros
253be9913e
update docs ( #203 )
2023-03-13 18:53:36 +01:00
aler9
d71991d929
improve coverage
2022-12-23 13:54:59 +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
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