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

Add OnScript callback func for FlvReader #90

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

autoexpect
Copy link
Contributor

想把ScriptData回调出来使用,这种方式不知道好不好。

@yapingcat
Copy link
Owner

ScriptData 可以先解析之后再回调,否则使用的人还得自己去解析

@yapingcat
Copy link
Owner

yapingcat commented Jul 25, 2023

或者 增加一个flv tag的 callback,把flv tag 回调出来,这样ScriptData 可以不用解析,外部的调用者自己决定如何处理flv tag
给下面的struct 增加一个TagData 参数或者其他方式

type FlvTag struct {

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

Successfully merging this pull request may close these issues.

None yet

2 participants