Commit graph

16 commits

Author SHA1 Message Date
Jacob Su
3a2594d610
rtmp: fix error when publishing AAC audio tracks (#3414)
* fix single aac file rtmp publish error.

* add tests

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-06-11 13:26:45 +02:00
xjr20042
8b51ca9c8b
rtmp: fix error when reading metadata (#3302)
some rtmp client will send set chunk size after publish stream
2024-04-29 21:49:38 +02:00
Alessandro Ros
1204f76eb7
update golangci-lint (#3300) 2024-04-28 18:20:08 +02:00
Pedro Sánchez
8aa26d6fb3
rtmp: fix streaming errors by handling AMF0 strict arrays (#3188) (#3189)
* add amf0 strict array decode

* add amf0 long string decode

* support amf0 types undefined, unsupported, xmldocument and date

* fix error and add tests

* modify tests to follow original way to test

* do not skip markerUnsupported / markerUndefined

* implement StrictArray marshaling; remove handling of long strings, XML documents, date

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-04-12 16:13:57 +02:00
Alessandro Ros
a50642c669
improve record tests (#3216) 2024-04-09 09:36:38 +02:00
Alessandro Ros
c7dbb951f3
update golangci-lint (#3149) 2024-03-19 12:53:26 +01:00
Alessandro Ros
b6db3121b5
rtsp: add random value to timestamp of tracks from other protocols (#3071) 2024-02-26 00:41:05 +01:00
Alessandro Ros
da7c5744b1
rtmp: add new AMF0 encoder and encoder (#3069)
This improves performance, security and removes a dependency.
2024-02-24 19:11:42 +01:00
Alessandro Ros
f8a56aae91
rtmp: simplify Audio message structure (#2924) 2024-01-21 16:29:13 +01:00
Alessandro Ros
20bb9b90cd
support G711 tracks with multiple channels and custom sample rates (#2891) 2024-01-13 11:40:26 +01:00
Alessandro Ros
27975d8b67
rtmp: support publishing G711 and LPCM tracks (#2857) (#2884) 2024-01-07 17:02:22 +01:00
Alessandro Ros
7437ee7a09
update golangci-lint (#2868) 2024-01-03 21:13:20 +01:00
Alessandro Ros
89560c19a0
rtmp: fix parsing error caused by extended timestamps (#2393) (#2556) (#2384) (#1550) (#2564) (#2808) 2023-12-16 17:17:42 +01:00
Alessandro Ros
22414bb38c
rtmp: return error in case of extended chunk stream IDs (#2806) 2023-12-14 11:38:47 +01:00
Alessandro Ros
7fb3b749d5
rtmp: fix publishing screen with iOS StreamLabs (#2352) (#2611) 2023-10-30 11:45:05 +01:00
Alessandro Ros
99bc327d67
move protocol-related code into internal/protocols (#2572) 2023-10-26 21:46:18 +02:00