Skip to content

增加DataHandler文档 - #26

Open
bingo1234588 wants to merge 1 commit into
modelbox-ai:mainfrom
bingo1234588:main
Open

增加DataHandler文档#26
bingo1234588 wants to merge 1 commit into
modelbox-ai:mainfrom
bingo1234588:main

Conversation

@bingo1234588

Copy link
Copy Markdown

Signed-off-by: yangguangxu yangguangxu0927@126.com

Signed-off-by: yangguangxu <yangguangxu0927@126.com>

|函数|作用|
|-|-|
|PushData()|将数据喂给DataHandler绑定节点的端口|

Copy link
Copy Markdown
Contributor

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,关闭之后无法再发送数据|

Copy link
Copy Markdown
Contributor

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:**

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

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")

``` No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

PushData, SetMeta,Handler相关接口没有example

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.

3 participants