Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve TODO use AMF3 in reader function #5

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

shithead
Copy link

@shithead shithead commented Dec 4, 2021

in some case FLV has no AMF0 instead AMF3 but without Version bits.

in some cases FLV has no AMF0 instead AMF3 but without Version bits.
@KnugiHK KnugiHK self-requested a review December 4, 2021 09:23
@KnugiHK KnugiHK added the enhancement New feature or request label Dec 4, 2021
Copy link
Owner

@KnugiHK KnugiHK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that it will always use AMF3 reader even with AMF0 data presented. I am not sure if AMF3 backward compatible with AMF0 since AMF3 introduced some new markers and markers numbers were changed. For example, undefined-marker changed from 0x06[AMF0] to 0x00[AMF3]).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants