Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.78k
stars
1.4k
forks
source link
Unable to stream with RTMP and codec H265/VP9/AV1 #3188
This was working on version 1.5.1 so I think the error is in the new AMF0 parser.
Also, I checked that if you send AMF0 types not implemented in this method, the connection fail. I think that the server should at least ignore not implemented types instead of refuse connection if it is a valid type.
Which version are you using?
v1.6.0
Which operating system are you using?
Describe the issue
Due to new AMF0 parser in RTMP . AMF0 Strict Array type is not supported producing this error:
AMF0 documentation to implement Strict Array: https://rtmp.veriskope.com/pdf/amf0-file-format-specification.pdf
According with RTMP enhanced in connect command you need include a property called fourCcList which is a Strict Array: https://veovera.org/docs/enhanced/enhanced-rtmp-v1#extending-netconnection-connect-command
This was working on version 1.5.1 so I think the error is in the new AMF0 parser. Also, I checked that if you send AMF0 types not implemented in this method, the connection fail. I think that the server should at least ignore not implemented types instead of refuse connection if it is a valid type.
I did a PR to fix this error: https://github.com/bluenviron/mediamtx/pull/3189
Describe how to replicate the issue
app-debug.zip ...
Did you attach the server logs?
Yes
Did you attach a network dump?
No