Dan Nicholls
5ab10e3e4e
Fix: invalid SDP: sdp: invalid syntax c=IN ( #906 )
...
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com >
2025-10-01 12:14:05 +02:00
Alessandro Ros
6750a1eb8a
sdp: fix compatibility with a Uniview camera (bluenviron/mediamtx#5008) ( #903 )
2025-09-21 18:08:27 +02:00
Alessandro Ros
1dd27b250c
sdp: add labels to test cases ( #902 )
2025-09-21 17:20:51 +02:00
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
ead4471b5c
support RTSP-over-HTTP ( #433 ) ( #768 ) ( #887 )
2025-09-15 19:00:50 +02:00
Alessandro Ros
9259df7cff
modernize code ( #884 )
2025-09-07 16:05:13 +02:00
Alessandro Ros
9db34842c8
move host resolution from headers to client/server ( #883 )
2025-09-07 15:39:02 +02:00
nicoske
1bc89661eb
Fix SDP parsing for repeat time field with no offsets ( #880 )
...
Co-authored-by: Nicolas BRAINEZ <nicolas.brainez@ext.ec.europa.eu >
2025-09-05 23:04:30 +02:00
James Ford
a8513af402
Fix typo when identifying KLV packets as SMPTE336M-encoded ( #877 )
2025-09-05 19:32:28 +02:00
Alessandro Ros
1f543a0331
rename rtcpreceiver into rtpreceiver, rtcpsender into rtpsender ( #874 )
...
These utilities were originally meant to handle RTCP only, now they are
in charge of every QoS mechanism.
2025-09-04 19:06:56 +02:00
Alessandro Ros
cf2ff2b564
add Transport.Profile, media.Profile ( #873 )
...
this will allow to support AVPF in the future.
2025-09-04 18:08:51 +02:00
Alessandro Ros
367eb4dffd
fix encoding and decoding of NTP fractional part ( #869 ) ( #870 )
...
Fractional part now is in 1/(2^32) units, while it was in 1/(1^9) units.
2025-08-31 12:36:17 +02:00
Alessandro Ros
cf1e074137
restore Windows compatibility ( #860 ) ( #861 )
2025-08-12 12:45:06 +02:00
Alessandro Ros
7a5df14b2c
add UDPReadBufferSize option ( #857 )
2025-08-11 10:49:54 +02:00
Alessandro Ros
6d6c7fe273
improve documentation ( #848 )
2025-08-07 16:18:43 +02:00
Alessandro Ros
e9db56f913
client: use server interface as multicast interface ( #762 ) ( #847 )
...
this fixes most errors "found no interface that is multicast-capable
and can communicate with IP".
2025-08-04 15:17:49 +02:00
Alessandro Ros
2bb5ab35c8
rtcpreceiver, rtcpsender: fix using read-only mutexes ( #844 )
2025-08-02 19:37:49 +02:00
Alessandro Ros
c7da004e03
merge rtplossdetector and rtpreorderer into rtcpreceiver ( #842 )
2025-08-02 12:41:10 +02:00
Alessandro Ros
1021950db8
update linter settings ( #840 )
2025-07-26 16:28:03 +02:00
Alessandro Ros
800dd9c850
move MPEG-4 audio LATM to dedicated format (bluenviron/mediamtx#4403) ( #834 )
2025-07-20 17:28:52 +02:00
Alessandro Ros
1db87f6bf6
propagate MPEG-4 audio config parse errors ( #836 )
2025-07-20 10:58:36 +02:00
Alessandro Ros
f3a865f815
in comments, use specification titles instead of URLs ( #830 )
2025-07-15 21:30:01 +02:00
Alessandro Ros
5248982137
remove KLV unit splitting ( #824 )
2025-07-06 20:11:49 +02:00
Yaroslav Molochko
e02c447868
support KLV tracks ( #808 )
...
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com >
2025-07-06 19:56:52 +02:00
Alessandro Ros
616fa7ea89
support encrypted streams with SRTP and MIKEY ( #520 ) ( #809 )
2025-07-05 12:48:13 +02:00
Alessandro Ros
4f3337f56c
set SSRC of outgoing packets ( #803 )
...
In client and server, each format now has a fixed, unique, known in
advance SSRC, that is applied to outgoing packets belonging to each
format.
This is needed to support SRTP/MIKEY, that require each format to have
a fixed, unique, and known in advance SSRC.
A secondary effect is that SETUP responses now always contain SSRCs of
each format, regardless of the fact that the first packet has been
produced or not (previously we needed at least one packet, from which
the SSRC was extracted).
2025-07-05 11:08:57 +02:00
Alessandro Ros
bee7cc4d6b
set default max payload size to 1450 ( #811 )
...
this is to support SRTP more easily.
2025-06-29 12:51:54 +02:00
Alessandro Ros
b1804d77e8
bump golangci-lint ( #784 )
2025-05-23 14:51:33 +02:00
Parallelc
2694ed941f
fix invalid TID=0 in writeAggregationUnit of rtph265 encoder ( #782 )
...
* fix invalid TID=0 in writeAggregationUnit of rtph265 encoder
* return error in case of invalid NALUs
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com >
2025-05-21 22:48:45 +02:00
Alessandro Ros
b407cb1dd0
server: support reading back channels ( #597 ) ( #777 )
2025-05-04 17:04:15 +02:00
Alessandro Ros
7f5aac27d1
ensure unmarshaled entities can be marshaled back ( #773 )
2025-05-04 11:27:28 +02:00
Alessandro Ros
3e555e2d18
fix crash when reading tracks with zero clock rate (bluenviron/mediamtx#4476) ( #772 )
...
also prevents RTCP sender and RTCP reports from being emitted when
track has clock rate set to zero.
2025-05-01 18:08:13 +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
162a72dd96
prevent decoding SDPs without media streams ( #769 )
2025-05-01 16:54:55 +02:00
Alessandro Ros
900f4958ca
fix SDP compatibility with some Uniview cameras ( #618 ) ( #765 )
2025-04-26 16:13:37 +02:00
Alessandro Ros
e434427da8
unexport multicast.MultiConn, multicast.SingleConn ( #763 )
...
they are already exposed through multicast.Conn.
2025-04-25 20:29:26 +02:00
Josh Allmann
03be509422
Add configurable buffer size to Reorderer ( #760 )
...
The default of 64 is ~3 seconds which may be too much for some apps.
2025-04-18 12:06:59 +02:00
Alessandro Ros
c3b5e0b76a
support decoding H264 units without Marker field (bluenviron/mediamtx#3945) ( #759 )
...
(like the ones produced by the FLIR M400)
2025-04-17 09:59:01 +02:00
Alessandro Ros
74a65e4c08
expose back rtcpreceiver, rtcpsender, rtpreorderer, rtplossdetector ( #755 )
2025-04-12 10:10:05 +02:00
Alessandro Ros
62ac5612f5
improve AV1 compression ( #746 )
2025-03-27 16:54:38 +01:00
Alessandro Ros
653a574588
restore ability to decode AV1 packets with W != 0 ( #745 )
2025-03-27 15:48:19 +01:00
Alessandro Ros
c9b91e629c
improve AV1 decoder efficiency ( #744 )
2025-03-27 13:41:18 +01:00
Alessandro Ros
3414414c02
improve tests ( #743 )
2025-03-27 13:02:57 +01:00
Alessandro Ros
d59d7c48b4
improve tests ( #742 )
2025-03-27 11:56:51 +01:00
Alessandro Ros
abef977ad5
improve NALU size limit errors ( #741 )
2025-03-27 11:38:28 +01:00
Alessandro Ros
4b0fe4f7d2
fix wrong size being reported in error messages ( #740 )
2025-03-27 11:34:23 +01:00
Alessandro Ros
61372cfa68
rename OnPacketLost2 into OnPacketsLost ( #736 )
2025-03-24 18:42:48 +01: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
fa94080e84
prevent decoders from returning empty NALUs (bluenviron/mediamtx#4346) ( #726 )
2025-03-22 22:45:54 +01:00
Alessandro Ros
376fb9e821
replace New* with Initialize ( #723 )
2025-03-16 13:58:35 +01:00