You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Download the Android apk attached (this apk is a compilation of this project modified to work with H265 codec as default in rotation example)
app-debug.zip
...
2. Unzip and install the apk in an Android device
3. Open app
4. Open Rotation (include filters) example
5. Type a rtmp url in the textbox
6. Press center button to start stream
7. The connection fail and the app try reconnect.
Did you attach the server logs?
Yes
Did you attach a network dump?
No
The text was updated successfully, but these errors were encountered:
pedroSG94
changed the title
Enable to stream with RTMP and codec H265/VP9/Av1
Unable to stream with RTMP and codec H265/VP9/Av1
Apr 3, 2024
pedroSG94
changed the title
Unable to stream with RTMP and codec H265/VP9/Av1
Unable to stream with RTMP and codec H265/VP9/AV1
Apr 3, 2024
)
* 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>
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:
#3189
Describe how to replicate the issue
app-debug.zip
...
2. Unzip and install the apk in an Android device
3. Open app
4. Open Rotation (include filters) example
5. Type a rtmp url in the textbox
6. Press center button to start stream
7. The connection fail and the app try reconnect.
Did you attach the server logs?
Yes
Did you attach a network dump?
No
The text was updated successfully, but these errors were encountered: