Commit Graph

35 Commits

Author SHA1 Message Date
aler9
5d66170bd7 fix computation of AAC timestamp 2022-05-10 13:33:45 +02:00
aler9
ee0e05708d rtpaac: support AUs wrapped inside ADTS (https://github.com/aler9/rtsp-simple-server/issues/855) 2022-04-29 12:20:29 +02:00
aler9
0d254e4505 rtpaac: support unaligned sizelength (#118) 2022-04-15 18:38:05 +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
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
cec5326ccf downgrade pion/rtp to v1 (#110) (#113) 2022-04-01 11:19:43 +02:00
aler9
e7aca99c73 change signature of rtp encoders and decoders 2022-03-20 11:30:04 +01:00
aler9
df2a0742ad use unmarshaled RTP/RTCP packets in tests 2022-03-18 16:54:09 +01:00
aler9
d1632e946d update golangci-lint 2022-03-09 09:43:11 +01:00
aler9
e12b22ae77 fix encoding of RTP packets with padding
this fixes a SIGSEGV with GStreamer
2022-03-08 12:47:55 +01:00
aler9
a541ae8f96 rtph264: do not touch pkt.Payload when decoding 2022-03-03 17:01:44 +01:00
aler9
17f05635dd rtp*: move time decoder into own package 2022-01-18 10:44:44 +01:00
aler9
725e1b13a3 rtp*: correctly decode timestamp in case of an overflow (~13h) 2021-12-09 20:27:11 +01:00
aler9
78bfa5d6a8 use require.EqualError() in tests 2021-11-03 17:52:45 +01:00
aler9
9f4f3054da rtpaac, rtph264: remove *RTP suffix 2021-09-28 15:33:38 +02:00
aler9
6410be3ba2 rtpaac, rtph264: make Encoder.Encode() to return []*rtp.Packet 2021-09-28 15:33:17 +02:00
aler9
308802c5a1 rtpaac, rtph264: remove Decoder.Decode() 2021-09-28 15:22:49 +02:00
aler9
d8bf9b2307 improve coverage 2021-08-05 18:17:59 +02:00
aler9
38658ec45f improve coverage 2021-07-04 12:45:53 +02:00
aler9
8a3bcb0ff8 rtp*: improve coverage 2021-05-15 17:55:23 +02:00
aler9
491b36cdc4 rtpaac: return au and pts separately 2021-04-05 17:56:04 +02:00
aler9
dcbd9d8211 rtp*: remove Read(), return nalus and pts separately 2021-04-05 17:15:56 +02:00
aler9
03137958c6 rtp*: improve robustness 2021-03-24 22:29:48 +01:00
aler9
2df57fbf75 rtpaac: support encoding frames bigger than 1460 bytes (https://github.com/aler9/rtsp-simple-server/issues/206) 2021-03-24 21:31:50 +01:00
aler9
134201bc94 rtpaac: support encoding aggregated packets 2021-03-24 15:01:22 +01:00
aler9
b4c7e9b95f rtpaac: add more test cases to MPEG4AudioConfig 2021-03-21 21:45:37 +01:00
aler9
90c720a5c7 rtpaac: add mpeg4-audio config decoder 2021-03-21 19:51:32 +01:00
aler9
830e3079e3 rtpaac: improve precision 2021-03-10 16:01:32 +01:00
aler9
be74692cb5 rtpaac: fix decoding timestamp of aggregated units 2021-03-10 14:26:19 +01:00
aler9
8504eca995 rtpaac: support decoding multiple AUs 2021-03-09 18:48:01 +01:00
aler9
9bc33c7e6c rtpaac: remove check on AU header 2021-03-09 14:04:46 +01:00
aler9
9ea2f797ea rtpaac: add decoder, add tests 2021-03-07 16:53:53 +01:00