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

增加DataHandler文档 #26

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

Conversation

bingo1234588
Copy link

Signed-off-by: yangguangxu [email protected]

Signed-off-by: yangguangxu <[email protected]>

|函数|作用|
|-|-|
|PushData()|将数据喂给DataHandler绑定节点的端口|
Copy link
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
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
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
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")

```
Copy link
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