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

Create specialized APIs like is_audio_frame_connected(msg_name), is_video_frame_connected(msg_name), and is_data_connected(msg_name), as well as a general API like is_msg_connected(msg_type, msg_name) #116

Open
halajohn opened this issue Oct 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@halajohn
Copy link
Member

halajohn commented Oct 13, 2024

Since in the world of TEN, the message names for cmd, data, audio_frame, and video_frame are in different namespaces (so there can be messages with the same name for audio frames, data, etc.), the general version of is_msg_connected requires the msg_type parameter, while the specialized APIs provide a convenient way to call the function.

@halajohn halajohn added the enhancement New feature or request label Oct 13, 2024
@halajohn halajohn self-assigned this Oct 13, 2024
@halajohn halajohn added this to Kanban Oct 13, 2024
@halajohn halajohn moved this to Todo in Kanban Oct 13, 2024
@halajohn halajohn moved this from Todo to In Progress in Kanban Oct 15, 2024
@halajohn halajohn changed the title Rename is_cmd_connected to is_msg_connected Create specialized APIs like is_audio_frame_connected(msg_name), is_video_frame_connected(msg_name), and is_data_connected(msg_name), as well as a general API like is_msg_connected(msg_type, msg_name) Oct 15, 2024
@halajohn halajohn moved this from In Progress to Todo in Kanban Oct 15, 2024
@halajohn halajohn removed their assignment Oct 15, 2024
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
Status: Todo
Development

No branches or pull requests

1 participant