mediamtx/internal/protocols/rtmp/amf0
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
..
testdata/fuzz/FuzzUnmarshal rtmp: fix streaming errors by handling AMF0 strict arrays (#3188) (#3189) 2024-04-12 16:13:57 +02:00
marshal.go rtmp: fix streaming errors by handling AMF0 strict arrays (#3188) (#3189) 2024-04-12 16:13:57 +02:00
marshal_test.go rtmp: add new AMF0 encoder and encoder (#3069) 2024-02-24 19:11:42 +01:00
object.go rtmp: fix streaming errors by handling AMF0 strict arrays (#3188) (#3189) 2024-04-12 16:13:57 +02:00
object_test.go rtmp: add new AMF0 encoder and encoder (#3069) 2024-02-24 19:11:42 +01:00
unmarshal.go rtmp: fix streaming errors by handling AMF0 strict arrays (#3188) (#3189) 2024-04-12 16:13:57 +02:00
unmarshal_test.go rtmp: fix streaming errors by handling AMF0 strict arrays (#3188) (#3189) 2024-04-12 16:13:57 +02:00