-
Notifications
You must be signed in to change notification settings - Fork 10
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
增加DataHandler文档 #26
base: main
Are you sure you want to change the base?
增加DataHandler文档 #26
Conversation
Signed-off-by: yangguangxu <[email protected]>
|
||
|函数|作用| | ||
|-|-| | ||
|PushData()|将数据喂给DataHandler绑定节点的端口| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
保持格式一致,括号删掉
|Next|获取某个端口上的数据信息,存储在DataHandler对象中| | ||
|SetNodeName|设置DataHandler对象绑定的节点名称| | ||
|GetNodeName|获取DataHandler对象绑定的节点名称| | ||
|Close|关闭DataHandler,关闭之后无法再发送数据| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
增加页面间跳转,可以参考其他api
|
||
## modelbox.DataHandler.SetMeta | ||
设置meta信息 | ||
**args:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
markdown lint统一过一遍,有一些有空行,有一些没有
|
||
status: 操作是否成功 | ||
|
||
## modelbox.DataHandler.PushData |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用markdown lint检查一下
for packet in video_demuxer: | ||
packet_data = packet.GetBufferList("packet") | ||
|
||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PushData, SetMeta,Handler相关接口没有example
3d9d120
to
158ea68
Compare
Signed-off-by: yangguangxu [email protected]