Commit Graph

1382 Commits

Author SHA1 Message Date
aler9
0e2d2cc754 h264: add limit on NALU size 2022-04-29 12:19:05 +02:00
aler9
a737e8542c h264: improve performance 2022-04-29 12:08:05 +02:00
aler9
4a4cc67128 aac: improve performance 2022-04-29 11:26:09 +02:00
aler9
6e3730f55e aac: add limit on AU size 2022-04-29 10:30:43 +02:00
aler9
b4bef084f0 aac: improve performance 2022-04-29 10:28:03 +02:00
aler9
c1dd7415ce aac: improve performance 2022-04-27 19:11:13 +02:00
aler9
1750fef60e aac: improve tests 2022-04-27 12:48:35 +02:00
aler9
9b16616fcb h264: improve performance of AntiCompetitionRemove 2022-04-24 22:12:27 +02:00
aler9
f8a351ba39 h264: remove AntiCompetitionAdd 2022-04-24 22:09:33 +02:00
aler9
ed0e1fe814 h264: rename DecodeAVCC into AVCCDecode 2022-04-24 22:08:18 +02:00
aler9
3bb6bb1a75 h264: add SPS parser 2022-04-24 22:02:35 +02:00
aler9
79ebb7d336 add TrackPCMA 2022-04-22 15:14:41 +02:00
aler9
c759021124 update docs 2022-04-21 17:03:44 +02:00
aler9
3a44c108c1 fix client-read-republish example (#120) 2022-04-21 17:03:32 +02:00
aler9
aa09a71cf4 server: fix reading with multicast on macOS (https://github.com/aler9/rtsp-simple-server/issues/895) 2022-04-21 13:52:18 +02:00
aler9
1e612f2443 server: fix reading with ffplay and stateless ipv6 2022-04-21 13:15:11 +02:00
aler9
d2380aeed1 fix transport header parsing with dahua rtsp server (#121) 2022-04-21 08:58:59 +02:00
aler9
5338d9ab4c change default RTSPS port (https://github.com/aler9/rtsp-simple-server/discussions/867) 2022-04-16 16:09:17 +02:00
aler9
f5cd130601 rtph264: make errors more clear 2022-04-16 13:16:36 +02:00
aler9
56e0c53078 fix tests 2022-04-15 18:51:14 +02:00
aler9
0d254e4505 rtpaac: support unaligned sizelength (#118) 2022-04-15 18:38:05 +02:00
aler9
253e9bf9f9 avoid writing SPS/PPS twice in example 2022-04-15 17:27:45 +02:00
aler9
e2a083fb2b fix tests 2022-04-15 17:09:41 +02:00
aler9
b1674ff918 support cameras that doesn't provide indexlength/indexdeltalength 2022-04-15 16:59:31 +02:00
aler9
efe7b064c3 rtpaac: make SizeLength, IndexLength, IndexDeltaLength mandatory 2022-04-15 16:55:06 +02:00
aler9
430b594283 rtpaac: support encoding packets with custom sizelength, indexlength, indexdeltalength 2022-04-15 16:45:26 +02:00
aler9
7ec10b4ea6 rtpaac: make sure that AU-headers-length is multiple of 8 2022-04-15 14:32:21 +02:00
aler9
660b154ae9 rtpaac: fix encoding/decoding of fragmented packets 2022-04-15 14:25:32 +02:00
Tristan Matthews
2f8186c11a client: allow UserAgent to be set (#119)
* client: allow UserAgent to be set

* client: fix out of date comment
2022-04-15 13:32:34 +02:00
aler9
9070fde205 update docs 2022-04-15 13:08:24 +02:00
aler9
25c296f1dd return an error in case an AAC track has no sizelength 2022-04-15 13:07:15 +02:00
aler9
6781d4a92b simplify example 2022-04-15 13:00:33 +02:00
aler9
49e13c6c7b move tests 2022-04-15 12:57:20 +02:00
aler9
cdd17453bd rtpaac: add default values for SizeLength, IndexLength, IndexDeltaLength 2022-04-15 12:40:17 +02:00
Shi Ben
bed854ece6 Support AAC tracks with custom sizelength, indexlength and indexdeltalength (#118)
* aac decode by sdp sizelength and indexlength

* fix linting

* fix linting

* 64-95 lines are duplicate of `track_aac_test.go:130-161` (dupl)

* fix linting

* fix linting

* decode aac use IndexDeltaLength
2022-04-15 12:35:54 +02:00
aler9
d479e9ee7d add an upper limit on AU/NALU sizes in order to prevent RAM exhaustion 2022-04-10 15:30:05 +02:00
aler9
3e852707c7 tune constants 2022-04-10 15:19:55 +02:00
aler9
ff34f5ac1d improve performance 2022-04-10 15:12:33 +02:00
aler9
3123346397 improve performance 2022-04-10 13:28:45 +02:00
aler9
7bf907e94c improve performance 2022-04-10 11:29:15 +02:00
aler9
bfe4e8cdaa automatically remux oversized RTP/H264 packets; drop parameter ReadBufferSize 2022-04-09 20:16:14 +02:00
aler9
b1a4b52090 fix multicast TTL; set default multicast TTL to 16 (https://github.com/aler9/rtsp-simple-server/issues/873) 2022-04-09 11:26:23 +02:00
aler9
2d2e62f55b fix 32bit support 2022-04-08 18:09:15 +02:00
aler9
fb5d2c31ce client: fix h264 decoding 2022-04-08 17:52:24 +02:00
aler9
5b37e9d5bb rtcp sender/report: do not send reports until all needed data is available 2022-04-08 16:45:43 +02:00
aler9
f4efe9ceb5 client: parse incoming RTP/H264 packets; fix RTCP receiver jitter 2022-04-08 16:45:09 +02:00
aler9
3c104d3727 client: add parameter 'containsKeyFrame' to WritePacketRTP; fix RTCP sender reports 2022-04-08 16:45:09 +02:00
aler9
d0cab3c8bd server: add parameter 'containsKeyFrame' to WritePacketRTP; fix RTCP sender reports and RTP-Info 2022-04-08 16:45:09 +02:00
aler9
0463e6b510 server: parse incoming RTP/H264 packets; fix RTCP receiver jitter 2022-04-08 16:45:09 +02:00
Wouter Horlings
718b084f83 Fix handling of trailing space in origin-field
We use the IOI trk-101. This device returns an origin-field with a
trailing space. This triggered the special case for some onvif2 cameras.
This resulted in a double unicast-address, causing a shift in the
fields. Eventually resulting in an exception when nettype was
interpret as sess-version.

This commit fixes this issue and adds a testcase that includes a
trailing whitespace.
2022-04-08 12:42:07 +02:00