mediamtx/internal/protocols/rtmp
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
..
amf0 rtmp: fix streaming errors by handling AMF0 strict arrays (#3188) (#3189) 2024-04-12 16:13:57 +02:00
bytecounter move protocol-related code into internal/protocols (#2572) 2023-10-26 21:46:18 +02:00
chunk update golangci-lint (#3149) 2024-03-19 12:53:26 +01:00
h264conf move protocol-related code into internal/protocols (#2572) 2023-10-26 21:46:18 +02:00
handshake move protocol-related code into internal/protocols (#2572) 2023-10-26 21:46:18 +02:00
message update golangci-lint (#3149) 2024-03-19 12:53:26 +01:00
rawmessage update golangci-lint (#3149) 2024-03-19 12:53:26 +01:00
conn.go rtsp: add random value to timestamp of tracks from other protocols (#3071) 2024-02-26 00:41:05 +01:00
conn_test.go rtmp: add new AMF0 encoder and encoder (#3069) 2024-02-24 19:11:42 +01:00
rc4_readwriter.go move protocol-related code into internal/protocols (#2572) 2023-10-26 21:46:18 +02:00
reader.go rtsp: add random value to timestamp of tracks from other protocols (#3071) 2024-02-26 00:41:05 +01:00
reader_test.go improve record tests (#3216) 2024-04-09 09:36:38 +02:00
writer.go rtmp: add new AMF0 encoder and encoder (#3069) 2024-02-24 19:11:42 +01:00
writer_test.go rtmp: add new AMF0 encoder and encoder (#3069) 2024-02-24 19:11:42 +01:00